Replies: 2 comments
-
Sounds like an async usage problem maybe? If everything is started correctly when your connection is established, future updates will trigger the event handler updates when they happen. If your code is mistakenly blocking the event loop so the background updates can't trigger event handlers, then it could be the behavior you see (updates only happen when you "do something" again so the entire system can update again). Without more code examples there's not much else we can debug because it could be any of half a dozen usage problems (assuming you don't actually have thousands of trades per day blocking the AccountUpdates() requests). |
Beta Was this translation helpful? Give feedback.
-
Thanks, i just worked arount the issue with a differnet event handler. I suspect it has to do with multiple accounts, but unsure |
Beta Was this translation helpful? Give feedback.
-
Hi all,
Just wanted to check with you if you know about this issue and how I could debug.
Calling the ib.reqAccountUpdates() for my accounts takes forever (>10 minutes). And in other situations just under a sec. In the docs it states that its not necessary to call it again becaue its called at startup.
But if i dont call it again my ib.accountValueEvent += wont trigger.
Any help is appreciated
Beta Was this translation helpful? Give feedback.
All reactions