开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Re: No real-time data after IB nightly server reset


 

Thanks, Richard for your reply. After I receive "farms not connected ..." 1102? message, I don't get a 2104 message. After the server reset once the connection is re-established, I cancel all my data subscriptions & disconnect. I then connect again (with the same client ID) & subscribe again using reqRealtimeBars with bar length 5 seconds. I wait for 50 seconds to receive market data & if I don't then I logout of IB Gateway & login again (triggering 2FA) & go through the same routine. This always works.
?
The strange thing is that I don't have this problem every single day. On the days when all farms are connected after reset, I do get the real-time data.

Join [email protected] to automatically receive all group messages.