Skip to main content

# IbPy - Interactive Brokers Python API

## What is IbPy?

IbPy is a third-party implementation of the API used for accessing the Interactive Brokers on-line trading system. IbPy implements functionality that the Python programmer can use to connect to IB, request stock ticker data, submit orders for stocks and futures, and more.

IbPy was created prior the release of Interactive Brokers Python API. Accordingly, this repository is about maintenance but not further development.

# Where can I get IbPy?

GitHub:

https://gitlab.com/algorithmic-trading-library/ibpy3 original ()

Original (older versions) of IbPy are available for download from:

https://github.com/blampe/IbPy

Original authors

IbPy library: Troy Melhase (troy@gci.net) Porting IbPy to python 3+: David Edwards (https://github.com/humdings)

# What are the requirements?

IbPy requires Python 3.x. Previous python 2.5+ versions should work but no more tested.

TWS requires a web browser capable of executing Sun(R) Java(tm) applets. TWS can also be started directly with Sun(R) Java(tm) and the stand-alone package supplied by Interactive Brokers.

# What is Interactive Brokers?

From the page “About The Interactive Brokers Group”:

> Interactive Brokers conducts its broker/dealer and proprietary trading > businesses on 60 market centers worldwide. In its broker dealer agency > business, IB provides direct access (“on line”) trade execution and clearing > services to institutional and professional traders for a wide variety of > electronically traded products including options, futures, stocks, forex, and > bonds worldwide. In its proprietary trading business IB engages in market > making for its own account in about 6,500 different electronically traded > products. Interactive Brokers Group and its affiliates now trade 19% of the > world’s exchange traded equity options, and executes approximately 500,000 > trades per day.

# What Else?

IbPy is not a product of Interactive Brokers, nor is this project affiliated with IB.

IbPy is installed with:

$ pip install IbPy-lucidinvestor

The stand-alone TWS and other API software is available from IB:

https://www.interactivebrokers.ca/en/trading/tws.php#tws-software

IbPy is distributed under the New BSD License. See the LICENSE file in the release for details.

Release files for IbPy-lucidinvestor 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for IbPy-lucidinvestor 1.0.3
File Size Uploaded
IbPy-lucidinvestor-1.0.3.tar.gz 59.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for IbPy-lucidinvestor 1.0.3
File Interpreter ABI Platform
IbPy_lucidinvestor-1.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 121.0 kB

Release files / IbPy-lucidinvestor-1.0.3.tar.gz

Download URL IbPy-lucidinvestor-1.0.3.tar.gz
Size 59.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f123846b02ab05627c7f7b68e150ae0687e9cd492cb6a228fc815c3ed0bb356e
BLAKE2b-256 checksum
How to use checksums
1050ec5505e1d0f08755233097e050227ebf02fe8bde3c29e354f2a4d0945e44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6

Release files / IbPy_lucidinvestor-1.0.3-py3-none-any.whl

Download URL IbPy_lucidinvestor-1.0.3-py3-none-any.whl
Size 61.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
429e124565dd593c389da08bdd09ec4bbd5442c8ce6e60c01f00cd2e6f718e7c
BLAKE2b-256 checksum
How to use checksums
8c4a374158f99b2f24563bdf7d04e8db92b5da1cf6d896dee103a14f3c9def2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files

1.0.2

2 release files

1.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page