Skip to main content

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.

Project description

IbPy - Interactive Brokers Python API
==============================================================================
IbPy :release_num: Released :release_date:


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.


What's new in this release?
------------------------------------------------------------------------------

* TWS API version :twsapi_ver: now supported
* Over 60% test coverage and growing
* Fixed outstanding bugs in EReader generated source
* Module ib.opt.logger moved to ib.lib.logger
* Class ib.opt.Connection moved to new ib.opt.connection module
* Added script to filter TWS log files; see demo/log_filter
* Added ib.sym package to hold various symbolic constants
* Many small enhancements to ib.opt package


Where can I get IbPy?
------------------------------------------------------------------------------
IbPy is available for download from Google Code:

http://ibpy.googlecode.com/files/:release_file:

Project page:

http://code.google.com/p/ibpy/


How do I use IbPy?
------------------------------------------------------------------------------
See the IbPy wiki page "Getting Started with IbPy":

http://code.google.com/p/ibpy/wiki/GettingStarted


What are the requirements?
------------------------------------------------------------------------------
IbPy requires Python 2.5 or newer. Previous versions are not supported.

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 is Python?
------------------------------------------------------------------------------
From the page "`What is Python?`__":

Python is an interpreted, interactive, object-oriented programming
language. It is often compared to Tcl, Perl, Scheme or Java.

Python combines remarkable power with very clear syntax. It has
modules, classes, exceptions, very high level dynamic data types, and
dynamic typing. There are interfaces to many system calls and
libraries, as well as to various windowing systems (X11, Motif, Tk,
Mac, MFC). New built-in modules are easily written in C or C++. Python
is also usable as an extension language for applications that need a
programmable interface.

The Python implementation is portable: it runs on many brands of UNIX,
on Windows, DOS, OS/2, Mac, Amiga... If your favorite system isn't
listed here, it may still be supported, if there's a C compiler for
it. Ask around on comp.lang.python -- or just try compiling Python
yourself.

The Python implementation is copyrighted but freely usable and distributable,
even for commercial use.


What Else?
------------------------------------------------------------------------------
IbPy is not a product of Interactive Brokers, nor am I affiliated with
IB. I am a satisfied IB customer, of course.

IbPy is installed with distutils. Refer to the Python distutils
documentation for more information. The digest version is::

$ tar xzf :release_file:
$ cd :release_root:
$ python setup.py install

The TWS demo system is available here:

http://interactivebrokers.com/cgi-pub/jtslink.pl?user_name=edemo

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

http://interactivebrokers.com/

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

I'm very interested in your experience with IbPy. Please drop me an
note with any feedback you have.


Troy Melhase
mailto:troy@gci.net


__ http://www.interactivebrokers.com/en/general/about/about.php
__ http://python.org/doc/Summary.html

LocalWords: API IbPy IB TWS twsapi ver EReader ib Google wiki tm applets Tcl
LocalWords: forex Tk MFC
Hide details
Change log
r310 by troy.melhase on May 15, 2008 Diff
Almost ready to release...
Go to:
Double click a line to add a comment
Older revisions
r266 by troy.melhase on Feb 21, 2007 Diff
r193 by troy.melhase on Feb 19, 2007 Diff
r190 by troy.melhase on Feb 19, 2007 Diff
All revisions of this file
File info
Size: 4965 bytes, 131 lines
View raw file
File properties
svn:keywords
Author Date Id Revision
svn:eol-style
native

Project details


Download files

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

Source Distribution

ib-0.8.0.tar.gz (37.5 kB view details)

Uploaded Source

File details

Details for the file ib-0.8.0.tar.gz.

File metadata

  • Download URL: ib-0.8.0.tar.gz
  • Upload date:
  • Size: 37.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ib-0.8.0.tar.gz
Algorithm Hash digest
SHA256 4426b1c1ced5d79b805c1450375d87574c95c99773cc8f29c35649b4ea50841a
MD5 dac38d59c6769bae82df0727a92b0735
BLAKE2b-256 ded905c34d2d8ecdd5fd42f985fd15ee5830edc92fbe678638cff1f585812ba4

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