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 (162, 200, 201, 354, 1100-1102)

Quick Start

For 80% of use cases, start with:

  1. Connection: IB Gateway (headless, lower resources) + IBC (automated lifecycle)
  2. Library: pip install ib_async (asyncio-native successor to ib_insync)
Related skills
Installs
1
GitHub Stars
2
First Seen
4 days ago