Hi Agustin,
First thanks a lot for your work! :) I found it around December last year and it's really cool I can track all my families portfolios in a single, self-hosted interface now.
Since some weeks ago (somewhen in March) no new transactions are synced any longer (only cash balance). Below is the log:
2025-04-26 18:42:28.226934+00:002025-04-26 18:42:28,226 - __main__ - INFO - Starting sync for account 2: Uxxxxx428
2025-04-26 18:42:28.227011+00:002025-04-26 18:42:28,226 - SyncIBKR - INFO - Fetching Query
2025-04-26 18:42:29.176983+00:002025-04-26 18:42:29,176 - SyncIBKR - INFO - Finding all accounts
2025-04-26 18:42:29.702180+00:002025-04-26 18:42:29,701 - SyncIBKR - INFO - Accounts: [
2025-04-26 18:42:29.703559+00:00...]
2025-04-26 18:42:29.703586+00:002025-04-26 18:42:29,702 - SyncIBKR - INFO - IBKR account: xxxxxxxx-xxxx-xxxx-a7a8-914473a78ab8
2025-04-26 18:42:29.703599+00:002025-04-26 18:42:29,702 - SyncIBKR - INFO - Getting cash amount
2025-04-26 18:42:29.703610+00:002025-04-26 18:42:29,702 - SyncIBKR - INFO - Base currency: USD
2025-04-26 18:42:29.703620+00:002025-04-26 18:42:29,702 - SyncIBKR - INFO - Cash amount: 3.518400146
2025-04-26 18:42:29.703655+00:002025-04-26 18:42:29,702 - SyncIBKR - INFO - Updating Cash for account xxxxxxxx-xxxx-xxxx-a7a8-914473a78ab8: {"balance": 3.518400146, "id": "xxxxxxxx-xxxx-xxxx-a7a8-914473a78ab8", "currency": "USD", "isExcluded": false, "name": "xxxxxxxxx", "platformId": "0afe61c5-c18c-4c74-b9cb-863a25a906a3"}
2025-04-26 18:42:29.784303+00:002025-04-26 18:42:29,784 - SyncIBKR - INFO - Updated Cash for account xxxxxxxx-xxxx-xxxx-a7a8-914473a78ab8
2025-04-26 18:42:29.871777+00:002025-04-26 18:42:29,871 - SyncIBKR - INFO - Nothing new to sync
2025-04-26 18:42:29.871895+00:002025-04-26 18:42:29,871 - __main__ - INFO - End sync
When I ran the Flex Query manually in the IBKR portal and downloaded the XML, the new transactions were included, so I came to the believe it may be somewhere lost in the code. However it seems, debugging is not so simple (especially since I'm running all in Docker).
I run the import daily (by starting the Docker container only once), always using agusalex/ghostfolio-sync:latest (together with PullPolicy: Always).
It seems to me that the issue probably lies somewhere in the transaction diffing: https://github.com/agusalex/ghostfolio-sync/blob/main/SyncIBKR.py#L195-L197
Could you give me a pointer where/how to start debugging? :)
Thanks in advance,
Christoph
Hi Agustin,
First thanks a lot for your work! :) I found it around December last year and it's really cool I can track all my families portfolios in a single, self-hosted interface now.
Since some weeks ago (somewhen in March) no new transactions are synced any longer (only cash balance). Below is the log:
When I ran the Flex Query manually in the IBKR portal and downloaded the XML, the new transactions were included, so I came to the believe it may be somewhere lost in the code. However it seems, debugging is not so simple (especially since I'm running all in Docker).
I run the import daily (by starting the Docker container only once), always using agusalex/ghostfolio-sync:latest (together with PullPolicy: Always).
It seems to me that the issue probably lies somewhere in the transaction diffing: https://github.com/agusalex/ghostfolio-sync/blob/main/SyncIBKR.py#L195-L197
Could you give me a pointer where/how to start debugging? :)
Thanks in advance,
Christoph