Skip to content

Commit

Permalink
Add Spanish specific records to ignore list (#84)
Browse files Browse the repository at this point in the history
* DEGIRO: Add Spanish records to ignore

* Bump version

* Updated dependencies
  • Loading branch information
dickwolff committed Jul 9, 2024
1 parent 99ab1e7 commit 6f69ba8
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 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.14.0
next-version: 0.14.1
assembly-informational-format: "{NuGetVersion}"
mode: ContinuousDeployment
branches:
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "export-to-ghostfolio",
"version": "0.14.0",
"version": "0.14.1",
"type": "module",
"description": "Convert multiple broker exports to Ghostfolio import",
"scripts": {
Expand All @@ -16,15 +16,15 @@
"devDependencies": {
"@types/cacache": "^17.0.2",
"@types/jest": "^29.5.11",
"@types/node": "^20.13.0",
"@types/node": "^20.14.10",
"jest": "^29.7.0",
"ts-jest": "^29.1.4",
"ts-jest": "^29.1.5",
"ts-node": "^10.9.2",
"tsx": "^4.11.0",
"typescript": "^5.4.5"
"tsx": "^4.16.2",
"typescript": "^5.5.3"
},
"dependencies": {
"@types/cli-progress": "^3.11.5",
"@types/cli-progress": "^3.11.6",
"cacache": "^18.0.3",
"chokidar": "^3.6.0",
"cli-progress": "^3.12.0",
Expand Down
3 changes: 3 additions & 0 deletions samples/degiro-export.csv
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,6 @@ Datum,Tijd,Valutadatum,Product,ISIN,Omschrijving,FX,Mutatie,,Saldo,,Order Id
11-03-2024,10:39,11-03-2024,QT GROUP OYJ,FI4000198031,"Achat 6 QT GROUP OYJ@79,96 EUR (FI4000198031)",,EUR,-479.76,EUR,38.43,cce1bd4c-9404-49b0-b69a-43a5c307d3c5
18-03-2024,08:38,15-03-2024,REALTY INCOME CORP,US7561091049,Dividende,,USD,0.51,USD,0.36,
18-03-2024,08:38,15-03-2024,REALTY INCOME CORP,US7561091049,Impôts sur dividende,,USD,-0.15,USD,-0.15,
19-06-2024,06:53,18-06-2024,,,Ingreso Cambio de Divisa,,EUR,0.79,EUR,319.39,
19-06-2024,06:53,18-06-2024,,,Retirada Cambio de Divisa,1.0767,USD,-0.85,USD,0.00,
26-10-2020,20:25,26-10-2020,,,Ingreso,,EUR,25.00,EUR,25.00,
4 changes: 3 additions & 1 deletion src/converters/degiroConverterV2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,9 @@ export class DeGiroConverterV2 extends AbstractConverter {
"operation de change",
"versement de fonds",
"débit",
"depósito"];
"depósito",
"ingreso",
"retirada"];

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

0 comments on commit 6f69ba8

Please sign in to comment.