Launch offer20% off your first custom bot, for our first 1,000 clients. Free 30-minute consultation included.−20% · LAUNCH20 See packs →
Heybotify
Broker & exchange APIs

ib_async (Interactive Brokers)

Python library to connect to Interactive Brokers through TWS or IB Gateway; successor of the popular ib_insync.

ib-api-reloaded/ib_async★ 1,768 stars last commit 2026-10-23
Our take

The most comfortable way to automate Interactive Brokers from Python.

Who it is for

Interactive Brokers clients who want to automate in Python without fighting the official API.

Strengths

  • Modern Python interface to TWS and IB Gateway.
  • Continuation of ib_insync, which stopped being maintained after its author passed away in early 2024.

Good to know

  • Not official: the project explicitly states it is not affiliated with Interactive Brokers.
  • Requires IB Gateway or TWS running with the API enabled: you have to keep that application up.

Want a bot built on ib_async (Interactive Brokers), or something similar?
We set it up, connect it to your accounts and keep it running.

Get a free quote

Real-life uses

Portfolio rebalancing and DCA

Buys a fixed amount on schedule or rebalances to target weights across ETFs or crypto.

🔁 Monthly DCA done: €200 split across 3 ETFs.
from €490 €392Order this bot

Risk monitor

Watches drawdown, exposure and margin across accounts and warns you before it is too late.

🛡️ Futures margin at 72%. Daily loss limit 60% used.
from €490 €392Order this bot

Sources

Every fact on this page comes from these sources, checked on 2026-10-24. If something has changed, the source wins; tell us at hello@heybotify.com.

  1. https://github.com/ib-api-reloaded/ib_async: what it is, requirements, history, license and that it is not official

Alternatives in Broker & exchange APIs