# blampe/IbPy

Python API for the Interactive Brokers on-line trading system.

Repository: https://github.com/blampe/IbPy
Canonical: https://ross.abutalabs.com/products/ibpy
Homepage: https://pypi.python.org/pypi/IbPy2
Language: Python
License: NOASSERTION
License Family: other
Archived: true
Last push: 2017-01-19T17:51:08+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 5457, "days_push": 3513, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1426, forks 497 (observed 2026-08-28T04:04:41.602139+00:00)

## What it is
IbPy is a third-party Python wrapper for the Interactive Brokers trading API, letting Python programs connect to TWS or IB Gateway to fetch market data and submit orders. It is now largely superseded by Interactive Brokers' official Python API, except for Python 2 users.

## Use cases
- connect python to interactive brokers
- submit stock and futures orders programmatically
- fetch live ticker data from TWS
- build an automated trading bot with IB
- use interactive brokers API from python 2

## When to choose
- you must use Python 2 with Interactive Brokers
- you maintain legacy code already built on IbPy

## When to avoid
- you use Python 3 - prefer the official IB Python API
- you need actively maintained or supported software

## Facets
- artifact type: library
- maturity: maintenance
- function: sdk, http-client
- domain: fintech, apis
- platform: python, cross-platform
- tags: interactive-brokers, trading, stock-market, tws-api, python2, automation

## Member repositories
- blampe/IbPy (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:41.602139+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:37:26.139769+00:00, confidence not recorded.
  - readme: https://github.com/blampe/IbPy (fetched 2026-08-28T04:04:41.602139+00:00, sha 26437ee121e8)
  - homepage: https://pypi.python.org/pypi/IbPy2 (fetched 2026-08-29T11:49:11.770753+00:00, sha 7a9780564e34)
- Data as of 2026-08-30T08:39:29.467469+00:00.
