Skip to main content

Interactive Brokers Python API (python 3 compatible version of https://github.com/blampe/IbPy) - maintained by LucidInvestor

Project description

# 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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

IbPy-lucidinvestor-1.0.3.tar.gz (59.1 kB view details)

Uploaded Source

Built Distribution

IbPy_lucidinvestor-1.0.3-py3-none-any.whl (61.9 kB view details)

Uploaded Python 3

File details

Details for the file IbPy-lucidinvestor-1.0.3.tar.gz.

File metadata

  • Download URL: IbPy-lucidinvestor-1.0.3.tar.gz
  • Upload date:
  • Size: 59.1 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for IbPy-lucidinvestor-1.0.3.tar.gz
Algorithm Hash digest
SHA256 f123846b02ab05627c7f7b68e150ae0687e9cd492cb6a228fc815c3ed0bb356e
MD5 b66d7b9b973bede25941ca62a0e8bb16
BLAKE2b-256 1050ec5505e1d0f08755233097e050227ebf02fe8bde3c29e354f2a4d0945e44

See more details on using hashes here.

File details

Details for the file IbPy_lucidinvestor-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: IbPy_lucidinvestor-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 61.9 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for IbPy_lucidinvestor-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 429e124565dd593c389da08bdd09ec4bbd5442c8ce6e60c01f00cd2e6f718e7c
MD5 cd36eb6572d8c8cb446cd114b5f87ef5
BLAKE2b-256 8c4a374158f99b2f24563bdf7d04e8db92b5da1cf6d896dee103a14f3c9def2c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page