Comments (16)
Seems to be the same issue as #64. Can you try and run npm install
and then run the tool again?
from export-to-ghostfolio.
Seems to be the same issue as #64. Can you try and run
npm install
and then run the tool again?
Sorry for the duplicate Issue, i ran npm install
but still same error
from export-to-ghostfolio.
As a test, can you run npm install dayjs
and then run again? This seemed to have resolved the issue on my machine.
It should update the dayjs dependency from 1.11.10 to 1.11.11.
from export-to-ghostfolio.
As a test, can you run
npm install dayjs
and then run again? This seemed to have resolved the issue on my machine.It should update the dayjs dependency from 1.11.10 to 1.11.11.
Same error again.
Dependences list:
➜ Export-To-Ghostfolio git:(main) ✗ npm list
[email protected] /home/username/Scaricati/Export-To-Ghostfolio
├── @types/[email protected]
├── @types/[email protected]
├── @types/[email protected]
├── @types/[email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]
from export-to-ghostfolio.
Thanks. I do see some mismatches in versions I have locally. Will look into this when I have some time later today.
I think this error is due to my migration from commonjs to esm and there were some import things I had to change.
Edit: Yep, I updated tsx to the latest version (I had 4.7.2, now 4.9.1) and I have the same issue as you do. Will try and find a fix!
from export-to-ghostfolio.
When you install tsx 4.9.0 manually you can run the tool again. Something broke in tsx 4.9.1. Will push a hard pinned fix now and then look into resolving 4.9.1+
from export-to-ghostfolio.
Closed by accident. Can you verify if this fix works?
from export-to-ghostfolio.
Issue is already known at tsx. Fill follow this.
from export-to-ghostfolio.
Closed by accident. Can you verify if this fix works?
The fix works, but I the conversion fails with either degiro
or degiro-v2
.
> [email protected] start
> tsx ./src/manual.ts "degiro"
[i] Restored 0 ISIN-symbol pairs and 0 symbols from cache..
[i] Processing file using DeGiro converter
[i] NOTE: There is a new version available of the DeGiro converter
[i] The new converter has multiple record parsing improvements and also supports platform fees.
[i] The new converter is currently in beta and we're looking for your feedback!
[i] You can run the beta converter with the command 'npm run start degiro-v2'.
[i] Read CSV file. Start processing..
███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 8% | ETA 0s | Duration: 2s | 8/93/home/username/Scaricati/Ex9
if (result.activities[result.activities.length - 1].comment === "txfees") {
TypeError: Cannot read properties of undefined (reading 'comment')
at <anonymous> (/home/username/Scaricati/Export-To-Ghostfolio/src/converters/degiroConverter.ts:1)
➜ Export-To-Ghostfolio git:(main) npm run start degiro-v2
> [email protected] start
> tsx ./src/manual.ts "degiro-v2"
[i] Restored 1 ISIN-symbol pairs and 1 symbols from cache..
[i] Processing file using DeGiro converter (V2 Beta)
[i] NOTE: You are running a converter that is currently in beta.
[i] If you have any issues, please report them on GitHub. Many thanks!
[i] Read CSV file. Start processing..
[d] Retrieved symbol IE00BK5BQT80.SG from cache!
[d] Retrieved symbol IE00BK5BQT80.SG from cache!
[d] Retrieved symbol IE00BK5BQT80.SG from cache!
[d] Retrieved symbol IE00BK5BQT80.SG from cache!
[d] Retrieved symbol IE00BK5BQT80.SG from cache!
[d] Retrieved symbol IE00BK5BQT80.SG from cache!
[d] Retrieved symbol IE00BK5BQT80.SG from cache!
[d] Retrieved symbol IE00BK5BQT80.SG from cache!
[d] Retrieved symbol IE00BK5BQT80.SG from cache!
[d] Retrieved symbol IE00BK5BQT80.SG from cache!
[d] Retrieved symbol IE00BK5BQT80.SG from cache!
[d] Retrieved symbol IE00BK5BQT80.SG from cache!
[d] Retrieved symbol IE00BK5BQT80.SG from cache!
[d] Retrieved symbol IE00BK5BQT80.SG from cache!
[d] getSymbolsByQuery(): No match found when searching by name for NL0010661914. Trying a p.
[d] getSecurity(): Found 0 matches by ISIN NL0010661914
[d] getSecurity(): No match found for symbol not provided, trying by name FUNDSHARE UCITS EUR CASH D
[d] getSymbolsByQuery(): No match found when searching by name for FUNDSHARE UCITS EUR CASH.
[i] No result found for NL0010661914 with currency EUR! Please add this manually..
[d] getSymbolsByQuery(): No match found when searching by name for NL0010661914. Trying a p.
[d] getSecurity(): Found 0 matches by ISIN NL0010661914
[d] getSecurity(): No match found for symbol not provided, trying by name FUNDSHARE UCITS EUR CASH D
████████████████████████████████████████ 100% | ETA 0s | Duration: 1s | 93/93
[i] Processing complete, writing to file..
[i] Wrote data to 'e2g-output/ghostfolio-degiro-v2-20240505132743.json'!
[i] You can now automatically validate the generated file against Ghostfolio. Set GHOSTFOLIO_VALIDATE=true in your environment variables to enable this feature.
[i] You can now automatically import the generated file into Ghostfolio. Set GHOSTFOLIO_IMPORT=true in your environment variables to enable this feature
[i] THIS IS AN EXPERIMENTAL FEATURE!! Use this at your own risk!
from export-to-ghostfolio.
I haven't put effort in the old DEGIRO converter because I want to replace it with the V2. I can try to fix the old one it but I prefer people move to V2.
It seems (according to the logs), the V2 converter succeeds and outputs a file. What exactly do you mean it fails? Does the V2 output file not import in Ghostfolio?
from export-to-ghostfolio.
I haven't put effort in the old DEGIRO converter because I want to replace it with the V2. I can try to fix the old one it but I prefer people move to V2.
It seems (according to the logs), the V2 converter succeeds and outputs a file. What exactly do you mean it fails? Does the V2 output file not import in Ghostfolio?
I can't import the file to Ghostfolio because a Symbol is missing
from export-to-ghostfolio.
Do you perhaps have a clean Ghostfolio setup (without any previous activities)? I had the same issue yesterday when I did a clean install. Whatever symbol I entered, nothing was accepted. I believe I had to do a market sync job before it worked, but I don't recall exactly what I did that made it work.
from export-to-ghostfolio.
Do you perhaps have a clean Ghostfolio setup (without any previous activities)? I had the same issue yesterday when I did a clean install. Whatever symbol I entered, nothing was accepted.
Yes
from export-to-ghostfolio.
Gotcha, that's a Ghostfolio issue then. @dtslvr Do you have Instructions somewhere on how to do the initial setup with Yahoo symbols?
from export-to-ghostfolio.
Yes
@alex27riva which version of Ghostfolio are you using?
from export-to-ghostfolio.
Closing due to inactivity, and because it's not an issue with export to Ghostfolio.
from export-to-ghostfolio.
Related Issues (20)
- Update all converters to take Yahoo Finance currency over currency in export
- When trying to import t212 csv it shows the same error with all symbols HOT 2
- Support Parqet? HOT 2
- Schwab import fails HOT 3
- Make DEGIRO V2 GA
- Swchab conversion error HOT 15
- Include BUX csv template HOT 13
- DeGiro conversion failing HOT 2
- Got a parsing error HOT 6
- Error when processing DEGIRO file due to Currency Exchange operation HOT 3
- Import Activities Error HOT 14
- Symbol mapping HOT 3
- Swissquote cash balance HOT 10
- Degiro import fails with "[e] An error ocurred while trying to retrieve an empty symbol (line 38)!" HOT 1
- XTB import fails with `TypeError: Cannot read properties of null (reading '1')` HOT 10
- all stocks give an error only the fee's gets ready to upload HOT 7
- GBX items are not imported correctly HOT 6
- Bitvavo csv header changed HOT 2
- De Giro stock split shows up as 2 SELL transactions HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from export-to-ghostfolio.