-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
degiro exporters only writes 12 transactions #4
Comments
I have seen this issue yesterday as well when running the tool myself. Will work on this as soon as I have time! |
I have created a branch that processes my test file. Can you check if this solves your issue? See this. |
Yahoo request seems to not work anymore This may happen intermittently and you should catch errors appropriately. or open a new issue (and mention the symbol): yahoo-finance2 v2.8.0 For information on how to turn off the above logging or skip these errors, At the end of the doc, there's also a section on how to FailedYahooValidationError: Failed Yahoo Schema validation |
I see, I had this before and disabled YF validation but it seems I only did this for the Quote Summary request. I'll add the validation skip to search as well then. |
I have added the validation skip to the proposed fix branch here. Can you validate if the issue persists? I also fixed the number in the progress bar, as this was not representative to the real number of processed lines (there were some "move to next line" actions that did not increment the bar). |
Had no errors during the convert task. But the JSON now only has "DIVIDEND" entries and no BUY or SELL entries. The exported CSV but has BUY and SELL entries. |
Allright, will look into it later this weekend and check of my example export has the same issue. Will also try a recent export of mine in case the example export is oudated. |
Fyi my BUY and SELL entries do not have a @ symbol in the CSV. Since mine is in german its just BUY for example: "Kauf XX zu je XX.XX EUR (DEXXXXXX)" |
That could be the root cause. The Dutch export does have that '@'. Could you send me a file (or lines) of buy/sell in German so I can work with that? |
Thank you, will look into later this weekend |
@dascgit I have added some German specific checks and the example you sent me can be processed now. |
Now I get this output: |
Will look in to this probably later this week, haven’t had time due to other responsibilities. I also saw Ghostfolio added a new api for search, might look into that and then remove my own implementation if Ghostfolio works as fast. The current list of issues started when I moved from Ghostfolio search to my own implementation of search because the old Ghostfolio api was extremely slow since 2.x release. |
Closed by mistake (by merging to main). Can you please send me the order line and preceding transaction fee line that causes issues? This is probably because there was no symbol found on the sell order. But I need to check to be sure. |
I have no idea which line or transaction it was to be honest. I have seen the CSV Export from degiro does strange things. For example they split one line into two lines and the second line misses a lot of informations. `LINE150: 16-03-2023,14:23,16-02-2023,BASF SE,DE000BASF111,Währungswechsel (Ausbuchung),1.0154,EUR,-XX.XX,EUR,0.00,17d16616-7634-11ee- LINE151: ,,,,,,,,,,,b962-0242ac120002` Maybe the symbol that could not be found was "GB00BDVZYZ77" ? |
Hi there, I've been running into a similar issue. Hopefully this anonymized data can help elucidate the issue:
The first line in the csv where we encounter that security is a transaction fee labelled as "DEGIRO Transaktionsgebühren und/oder Fremdkosten". That is then followed by the actual purchase, labelled "Kauf AMOUNT zu je PRICE EUR (ISIN)", where we encounter the crash. Both possess the same ISIN. Looks like we find the security just fine with the ISIN but because this security is listed on TDG under a different symbol than on NASD it struggles to match it to the expected currency in findSymbolMatch. I'm guessing our trouble may come from that unhandled edge case but it's just a shot in the dark. |
@dascgit I have added "Währungswechsel" lines to the skip list, so this should make sure you can continue processing. |
@mlbullett Can you give me the name of the stock/etf that gives you issues? That way I can check wether I get the same issue. I have also added a "prefered exchange" config setting recently. You can set this so a prefered exchange postfix (e.g. |
Hi @dickwolff, thanks for replying. |
I have added some checks in this branch for a similar issue someone else had. Could you check the version in that branch and see if it gives you the same issue, or if that change resolves it? |
Cheers, that seems to have solved the issue although now I've run into another issue with US90184L1026 but that's unrelated to this. |
It seems that Yahoo Finance does no longer recognize TWTR since it has been taken private by Elon. |
Yeah I figured. Shame for record keeping but not the end of the world as the position is resolved. Thanks for the assist in the main issue! |
When trying to run the degiro exporters it only exports 12 transactions and then stops:
[nodemon] 2.0.22 [nodemon] to restart at any time, enter
rs[nodemon] watching path(s): src\**\* [nodemon] watching extensions: ts,js [nodemon] starting
ts-node ./src/index.ts degiroProcessing file using DeGiro converter Read CSV file C:\Users\User\Downloads\Account.csv. Start processing.. ██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 4% | ETA 225s | Duration: 18s | 12/273 Processing complete, writing to file.. Wrote data to 'ghostfolio-degiro.json'! [nodemon] clean exit - waiting for changes before restart
The text was updated successfully, but these errors were encountered: