IBKR TWS API 5 Second delay to collect bar data upon close #87
Replies: 3 comments 3 replies
-
It looks like other people have noticed the same problem here: https://www.elitetrader.com/et/threads/ib-real-time-data-lag.343165/ Maybe that's just how it works? Some of the IBKR data APIs work only on 5 second time increments, so maybe their network sender bundles all previously closed bars on their next 5 second timer. For live data, I use The fastest price data is always from |
Beta Was this translation helpful? Give feedback.
-
did you found a solution ? I have the same 5 seconds delay for 1min and 15 min bars. I'm wondering if it is related to more recent IB Gateway settings since I'm running my code on a Linux VM (Ubuntu 24.04 LTS) with older IB Gatway version (10.19) without delay but if II run the code on a most recent IB Gateway version (10.30) I get the 5 seconds delay. |
Beta Was this translation helpful? Give feedback.
-
Never found a solution unfortunately. Prior to July 2024 I didn’t the 5 second delay. Tried to run it on older versions of IBKR’s static TWS but still had the issue. Sent from my iPhoneOn Jan 5, 2025, at 9:11 AM, Jeffrey Labranche ***@***.***> wrote:
Thank you @mattsta for the quick answer. Makes sense and I agree with you that over such a short time period the 5 seconds delay is not a big deal considering all the noise. Although I'm still curious to see if someone else in the community noticed this delay with most recent IB Gateway versions because with version 10.19 I was able to receive bars in real time (current time = bar timestamp). I won't pursue the investigation on my side but might post a code sample tonight if it can help others to investigate the difference.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hello, does anyone else encounter the issue of a 5 second delay for all data requests from IBKR TWS API? Using the Python script below which just prints 1min bar data upon close for /nq 1min bars I get a 5 second delay while it is near instant for my developer. Attached is a screenshot of my terminal. Notice all results take 5+ seconds.
Beta Was this translation helpful? Give feedback.
All reactions