You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m building a latency-sensitive trading bot, and I already know the limited set of US stocks I will trade. All of them use contracts like: Stock(symbol, "SMART", "USD")
Would it be beneficial to call qualifyContracts() right after ib.connect() to reduce later latency when placing orders? Or is there something important that I’m overlooking?
If the answer to above is true, it seems like Contract object doesn't contain anything related to clientId, does that mean I can pre-qualify it with a random connection, disconnect it and reuse it later using any clientIds/connections?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I’m building a latency-sensitive trading bot, and I already know the limited set of US stocks I will trade. All of them use contracts like:
Stock(symbol, "SMART", "USD")Would it be beneficial to call
qualifyContracts()right afterib.connect()to reduce later latency when placing orders? Or is there something important that I’m overlooking?If the answer to above is true, it seems like
Contractobject doesn't contain anything related to clientId, does that mean I can pre-qualify it with a random connection, disconnect it and reuse it later using any clientIds/connections?Beta Was this translation helpful? Give feedback.
All reactions