Skip to main content

Module consts

Module consts 

Source
Expand description

Core constants shared across the Interactive Brokers adapter components.

Constants§

DEFAULT_CLIENT_ID
Default client ID.
DEFAULT_HOST
Default host for IB Gateway/TWS.
DEFAULT_PORT
Default port for IB Gateway.
DEFAULT_TWS_PORT
Default port for TWS.
IB
Short-form venue identifier string used as the canonical venue and client ID.
ORDER_UPDATE_BIND_RETRY_DELAY_SECS
Seconds the execution client waits before retrying a failed order_update_stream bind.
ORDER_UPDATE_REBIND_DELAY_SECS
Seconds the execution client waits before re-binding order_update_stream after the stream ended or yielded a terminal error (in ibapi a decode error ends the subscription).

Statics§

IB_CLIENT_ID
Static client ID instance.
IB_VENUE
Static venue instance.