Glossary
IBKR + Python glossary
A shared vocabulary for Interactive Brokers, TWS, Gateway, market data, order handling, backtesting, portfolio metrics, and Python workflows.
Gateway
Gateway session
The authenticated runtime state of IB Gateway, including login status, API settings, and any scheduled restart behavior.
- Plan for disconnections, daily resets, and authentication prompts in any unattended workflow.
Related: reconnect logic, session reset, heartbeat
Gateway
IB Gateway
A lighter IBKR application that exposes API connectivity without the full TWS trading desktop interface.
- Gateway is frequently used for longer-running technical workflows, but it still requires session management and authentication planning.
Related: TWS, API socket, session reset
Gateway
reconnect logic
Application code that detects a lost IBKR API connection, waits safely, reconnects, and resubscribes only when appropriate.
- Reconnect logic should not blindly replay orders. Treat order state and market data subscriptions separately.
Related: heartbeat, order state, market data subscription
Educational boundary
This content is for educational and technical research purposes only. It is not financial advice, investment advice, trading advice, tax advice, or legal advice. Backtests and examples may contain errors or omissions. Past performance does not guarantee future results. Always test code in a safe environment before using it with real accounts or live trading systems.
Interactive Brokers, IBKR, Trader Workstation, and IB Gateway are trademarks or registered trademarks of their respective owners. InQuantWeTrust is independent and is not affiliated with, endorsed by, or sponsored by Interactive Brokers.