Replies: 4 comments 2 replies
-
I have not had this issue, nor heard of anyone else having it. I would suspect most likely a local networking issue, either HW or SW. Could also be IB or Gateway. Less likely: ib-insyc. Almost certainly nothing to do with pysystemtrade. You might check IB or ib-insync forums to see if anyone else has had a similar problem. I only run the price updates once a day, all instruments at the same time. I have mainly US instruments right now, but I'm slowly adding others. It's possible that I might get to a point where I want to separate them by region. I've never heard of anyone updating prices continuously throughout the day with pysystemtrade. Seems like that could easily be done, but unless you're also running backtests throughout the day, I don't see much benefit to it. |
Beta Was this translation helpful? Give feedback.
-
ib-insync 0.9.70 I'm not having any connection issues. I run price updates just once a day, all in one batch. I subscribe to US, Eurex, JPX, KSE, SGX and it takes about 45 minutes to complete. These are my timings.
I'd be interested if any others in the EST/CST time zones can share what time they run things. I run prices after 6PM EST. Then I give myself a little bit of time to check price spikes, then run systems/strategy, then give myself time to check if there are any instrument orders and roll (if needed) before the stack handler starts at midnight, towards the end of the Asia market trading times. |
Beta Was this translation helpful? Give feedback.
-
Out of curiosity, what are you doing for the holiday tomorrow? Most, but not all, US and Europe futures markets are closed, Asia markets are open. Looks like Europe is closed Monday. Do you run normally and any instruments orders that can't be placed tomorrow just get erased at the end of the day or do you not run at all tomorrow? |
Beta Was this translation helpful? Give feedback.
-
I believe I found the problem after speaking with IB support. As many of you know, IB servers in NY, Europe and HK have daily reset times. https://www.interactivebrokers.com/en/software/systemStatus.php It turns out despite being based in UK, I am being hosted on US servers. US servers have daily reset times between 23:45 and 00:45 Eastern Time (NY time), which is right about the time I am loosing connection to HK historical market data server. Somehow the NY server restart is affecting my connection to HK server. Updating historical prices for Japanese futures before 4:45 AM UK time (23:45 ET) so far seemed to have fixed the issue. |
Beta Was this translation helpful? Give feedback.
-
Hi Everyone,
I am running IB Gateway 10.21 and ib-insync 0.9.70.
Very frequently at some point in the day IB Gateway Historical Data Farm connections to EU and HK drop off, causing failure to update Eurex and OSK traded futures prices, even if I pull historical prices once every hour. Does anyone else experience the same issue? Do you think this is a local internet/hardware issue? The only remedy then is to restart IB Gateway and run_daily_price_updates process.
Separately, I would appreciate if you guys would share whether you are running daily price updates only once a day (different regions different times) or in a loop from morning till evening.
Thank you,
Emre
Beta Was this translation helpful? Give feedback.
All reactions