#EasyIBKR
A helper module which makes automating trades using IBKR and Python MUCH easier through helper functions which sort through the confusing syntax elements.
Note: This build is based on ib_insync, though this may be updated to the newer maintained async version
HOW TO USE:
first, run the connect() function. By default it uses the params TWS API sets for you (make sure to set up your TWS to work with API!!), however you can change this by calling the function with params;
connect(ip,port,clientId)
-------Getting Information-------
getLiquidity() -> returns your account summary getValue() -> returns your total account value (cash + positions)
getCurrentBasics(ticker) -> returns a list of [bid,ask,last,open] for the specified ticker
getHistoricals(ticker,duration,size,toShow,endDateTime) duration is how far back to go size is the bar size toShow is what point in the bar to show (open,close,high,low,midpoint) endDateTime is the last date to get data for, by default it goes until the latest it can
-------Placing Trades--------
placeLimit(ticker,quantity,short,limit) short -> a boolean, if True then places a short trade, if False, long limit -> limit price
placeBracket(ticker,qty,short,limit,stopLoss,takeProfit) same as Limit but we can specify stopLoss and takeProfit limit prices, orders are One-Cancels-Order
Installation
pip install easyIBKR
Metadata
Release files for easyibkr 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| easyibkr-0.1.1.tar.gz | 1.9 kB | Without provenance | Details for easyibkr-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| easyibkr-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for easyibkr-0.1.1-py3-none-any.whl |
Total release size: 3.8 kB
Release files / easyibkr-0.1.1.tar.gz
| Download URL | easyibkr-0.1.1.tar.gz |
|---|---|
| Size | 1.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f5f41633994f8a6169d8d9a37db9863150494b242081c45f47136ab77e5ff367
|
|
BLAKE2b-256 checksum How to use checksums |
1c03c4755d645f88f1defad6f43c8b66de67cedc48082ea4ad5538826bbf03f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / easyibkr-0.1.1-py3-none-any.whl
| Download URL | easyibkr-0.1.1-py3-none-any.whl |
|---|---|
| Size | 1.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1396bc9065db4b228dfd5a2657b9877d3bdb3c77ef5cb9bee4268c50b99327d3
|
|
BLAKE2b-256 checksum How to use checksums |
2c1fbf83bb8ba4f68a9c4085b782ac0e6a23d870b8a399a532317eee82d70ebd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Security for easyibkr 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.