Skip to content

Commit

Permalink
DEGIRO: Ignore monetary fund records
Browse files Browse the repository at this point in the history
  • Loading branch information
dickwolff committed Jan 6, 2025
1 parent 496bff7 commit 511689e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion GitVersion.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
next-version: 0.21.1
next-version: 0.21.2
assembly-informational-format: "{NuGetVersion}"
mode: ContinuousDeployment
branches:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "export-to-ghostfolio",
"version": "0.21.1",
"version": "0.21.2",
"type": "module",
"description": "Convert multiple broker exports to Ghostfolio import",
"scripts": {
Expand Down
2 changes: 2 additions & 0 deletions samples/degiro-export.csv
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,5 @@ Datum,Tijd,Valutadatum,Product,ISIN,Omschrijving,FX,Mutatie,,Saldo,,Order Id
27-05-2024,07:41,24-05-2024,TOYOTA MOTOR CORP,JP3633400001,Dividendbelasting,,JPY,-9999.99,JPY,-9999.99,
08-03-2024,11:25,08-03-2024,TOYOTA MOTOR CORP,JP3633400001,DEGIRO Transactiekosten en/of kosten van derden,,EUR,-9999.99,EUR,9999.99,541651641
08-03-2024,11:25,08-03-2024,TOYOTA MOTOR CORP,JP3633400001,"Koop 30 @ 22,4 EUR",,EUR,-9999.99,EUR,9999.99,541651641
15-07-2020,00:00,14-07-2020,EUR CASH FUND FUNDSHARE,NL0010661914,Variation Fonds Monétaires (EUR),,EUR,-0.25,EUR,24.58,
09-06-2020,12:05,08-06-2020,EUR CASH FUND FUNDSHARE,NL0010661914,"Conversion Fonds Monétaires finalisée: Vente 1 046,3825 @ 0,9854 EUR",,EUR,-4.81,EUR,84.89,
3 changes: 2 additions & 1 deletion src/converters/degiroConverterV2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,8 @@ export class DeGiroConverterV2 extends AbstractConverter {
"ingreso",
"retirada",
"levantamento de divisa",
"dito de divisa"];
"dito de divisa",
"fonds monétaires"];

return ignoredRecordTypes.some((t) => record.description.toLocaleLowerCase().indexOf(t) > -1);
}
Expand Down
4 changes: 3 additions & 1 deletion src/converters/degiroConverterV3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -259,11 +259,13 @@ export class DeGiroConverterV3 extends AbstractConverter {
"operation de change",
"versement de fonds",
"débit",
"debit",
"depósito",
"ingreso",
"retirada",
"levantamento de divisa",
"dito de divisa"];
"dito de divisa",
"fonds monétaires"];

return ignoredRecordTypes.some((t) => record.description.toLocaleLowerCase().indexOf(t) > -1);
}
Expand Down

0 comments on commit 511689e

Please sign in to comment.