Closed leebailey88 closed 2 weeks ago
IBC can only do things that a user can do via the Gateway (or TWS) UI.
Do you know a way to force Gateway to connect to a particular market data farm using the UI?
No, neither do I.
So I guess that answers the question!
The fact is that market data farms are connected as required as a result of market data requests. In the case of Gateway, this can only be via API calls to reqMktData. If that doesn't do the trick, there's almost certainly something wrong with your API client's code. Make sure you're logging error messages. I can't believe that you could request market data for a futures contract and get no data without there being an error message that explains why.
Thanks for the quick reply! I see, I will keep digging on this particular issue.
In the meantime, I've noticed another problem:
When I use the RECONNECTDATA
command, there's a confirmation modal that pops up. IBC doesn't seem to be automatically clicking the "OK" button to confirm that I want to reconnect data.
You're right. The same is true of RECONNECTACCOUNT
.
This seems to be new behaviour in some version of TWS/Gateway since 10.19, which doesn't produce this dialog. Can you please tell me which Gateway version you're using?
I'll fix it when I can find some time.
Thanks! I'm using the latest IB Gateway version 10.30.1
This was fixed in release 3.20.0
I'm trading futures. Sometimes my IB Gateway that's running in a Docker container starts with only the
usfarm
market data farm turned on, while other times it also includesusfuture
andusfuture.nj
. I've found that if it doesn't start withusfuture
turned on, then I'm not able to get any market data for futures contracts at all until I restart the program and hopefully get lucky withusfuture
being on next time.Is there a way to force the
usfuture
on from a config or command line option? Maybe in jts.ini?