Broker API HubMenu

ib-api-reloaded/ib_async

Small desktop window titled qt_ticker_table.py. A table with columns symbol, bidSize, bid, ask, askSize, last, lastSize and close holds rows for EURUSD, USDJPY, EURGBP, USDCAD, EURCHF, AUDUSD, NZDUSD and TSLA, above a Disconnect button.
A window from one of the example scripts: a table of live bid, ask and last prices for seven currency pairs and one share. Image from the repository's docs folder. Copyright (c) 2019 - 2023, Ewald de Wit. Copyright (c) 2024, Matt Stancliff. Licence: BSD-2-Clause. Source file on GitHub, copied and resized. How images are chosen.

In its own words: Python sync/async framework for Interactive Brokers API (replaces ib_insync)

Independent and unofficialRead from GitHub

Open ib-api-reloaded/ib_async on GitHub

Risk warning: CFDs and spread bets are complex instruments and come with a high risk of losing money rapidly due to leverage. You can lose money on these products, and each provider publishes its own loss figure under FCA rules. You should consider whether you understand how they work and whether you can afford to take the high risk of losing your money. Automated and API trading can amplify losses through bugs, connectivity failures and runaway orders.

The facts

Stars
1,750
Forks
253
Language
Python
Licence
BSD-2-Clause
Created
Last push
Kind
Broker and platform API client
Read from GitHub
github.com/ib-api-reloaded/ib_asyncchecked

Stars measure attention, not quality or safety. Nothing here reviews the code or its author. Read the licence, the open issues and the code itself before you run anything against an account. Star velocity: unmeasurable, because this site holds one reading for this repository.

Get started in a couple of minutes

You need Python and Git installed. Then, in a terminal:

git clone https://github.com/ib-api-reloaded/ib_async.git
cd ib_async
  1. python -m venv .venv
  2. Activate it: .venv\Scripts\activate on Windows, source .venv/bin/activate on macOS or Linux
  3. Install what the project needs. Most Python projects use: pip install -r requirements.txt or pip install -e .

These are the usual steps for a project in this language, not instructions taken from this repository. Its README has the exact commands, and it wins wherever the two differ.

Before you connect anything to a broker: read what the code does, use a demo account, and keep keys in environment variables, never in the code. New to GitHub? Start with the basics.

Use it with

Others of the same kind