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
Hi,
I was working with TWS worksation on remote host and found the connection was failing. Upon some debug I found that timeout is set to 1 in interactive_brokers.factories.py with code line client.connect(host=host, port=port, timeout=1, clientId=client_id).
One second is very low. I have to set it to 6 seconds to make it work. It will be great if gateway_config can be added in InteractiveBrokersDataClientConfig and InteractiveBrokersExecClientConfig as optional parameter.
Please note i see there is default timeout set to 300 in get_cached_ib_client which is the total wait timeout before application closes. This has to remain as is, maybe just renamed. Thanks.
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
-
Hi,
I was working with TWS worksation on remote host and found the connection was failing. Upon some debug I found that timeout is set to 1 in
interactive_brokers.factories.py
with code lineclient.connect(host=host, port=port, timeout=1, clientId=client_id)
.One second is very low. I have to set it to 6 seconds to make it work. It will be great if
gateway_config
can be added inInteractiveBrokersDataClientConfig
andInteractiveBrokersExecClientConfig
as optional parameter.Please note i see there is default timeout set to 300 in
get_cached_ib_client
which is the total wait timeout before application closes. This has to remain as is, maybe just renamed. Thanks.Beta Was this translation helpful? Give feedback.
All reactions