ibkr-trading
Installation
SKILL.md
Interactive Brokers Algotrading
Knowledge base for building production-grade algorithmic trading systems with Interactive Brokers TWS API and ib_async in Python.
When to Use
- Connecting to TWS or IB Gateway with ib_async
- Implementing real-time market data subscriptions
- Designing order execution logic (bracket orders, order lifecycle)
- Handling pacing violations for historical data requests
- Building reconnection resilience for 24/7 production bots
- Deploying IB trading systems on Windows with IBC + Task Scheduler
- Debugging TWS API error codes (110, 135, 162, 200, 201, 354, 366, 1100-1102)
- Translating FX/metals symbols into the right contract type (spot vs CFD) for the account's entity
- Sizing orders from prices without the
NaN/0.0/unit/tick traps that silently mis-size or reject