开云体育

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

Re: Gateway disconnects multiple times daily at around 2pm, sometimes failing to reconnect


 

Hello,

I have a few related questions please,
I am based in Singapore, and connected via gateway to the US server:

  1. My market data feed disconnects every day at 2PM New York Time
    Not sure why, the logs don't show much, but it shows that my market data feed essentially stops.
  2. Separately I also face error 2103 every day at 5PM New York Time "market data farm is broken:cashfarm"
    Then of course on top of these 2, I get the daily maintenance window disruption around midnight US time.


Note I am using 5secs bars?for my data feeds


self.reqHistoricalData(reqId, contract, str(), '6000 S', '5 secs', data, 1, 2, True, [])

It is supposed to keep feeding and reconnect no matter what, but unfortunately it doesn't;
and every time I faced either of these issues or the daily maintenance window, I have to cancel the subscription and resubscribe to the market data feed, ultimately I just opted to restart the app if the feed becomes stale out of convenience.

> any idea why I face issues every day at 2PM and 5PM NY time?


Bonus question:

keep using IBC to handle the disconnects
> what is IBC?

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