
In simple English
Interactive Brokers has a web portal for trading and checking your account. Talking to it normally requires running complicated helper software on your computer. This Python library connects to that portal directly. It handles login, request limits, and data streams for you. You can build your own trading bot or portfolio tracker much faster. It costs nothing to use, but bugs in your code can lose real money.
What it is
IBind is an unofficial Python client library for the Interactive Brokers Client Portal Web API. It supports both REST and WebSocket connections with built-in OAuth support.
What it is good for
Solo builders and traders who want to build custom trading algorithms, automated order execution, or portfolio monitors using Interactive Brokers.
- Connects directly without needing local gateway helper apps.
- Handles automatic rate limiting and parallel requests for you.
- Includes both REST endpoints and real-time WebSocket data feeds.
- Trading with real money carries financial risk if your code has bugs.
- Requires an active Interactive Brokers account and API setup.
- As an unofficial tool, broker API changes can break your code without warning.
Writing raw HTTP requests to the broker portal and handling authentication by hand.
IBeam
- Voyz/ibeam861 stars
Runs the Interactive Brokers Client Portal Gateway automatically, which pairs well with client libraries.
- jesse-ai/jesse8.7k stars
A Python framework for writing crypto trading strategies, testing them against past prices, and running them live.
- hummingbot/hummingbot20k stars
A free framework for writing and running automated trading programs on cryptocurrency exchanges.
- lballabio/QuantLib7.7k stars
The long-established free library for pricing and risk-managing financial instruments.
source venv/bin/activate pip install ibind