ib_async
ib_async copied to clipboard
Python sync/async framework for Interactive Brokers API (replaces ib_insync)
Just a heads up... Someone on the TWS API group pointed out that the latest TWS API is starting to use google protobufs. Jurgen [states](https://groups.io/g/twsapi/message/54075) that all clients (including ib_async)...
``` self._ib_client.sleep(2) ~~~~~~~~~~~~~~~~~~~~~^^^ File "/lib/python3.13/site-packages/ib_async/util.py", line 405, in sleep run(asyncio.sleep(secs)) ~~~^^^^^^^^^^^^^^^^^^^^^ File "/lib/python3.13/site-packages/ib_async/util.py", line 360, in run result = loop.run_until_complete(task) File "/usr/lib64/python3.13/asyncio/base_events.py", line 696, in run_until_complete self._check_running() ~~~~~~~~~~~~~~~~~~~^^ File "/usr/lib64/python3.13/asyncio/base_events.py",...
**Description** reqExecutionsAsync will time out if the execFilter is left blank due to the api not responding to the request. At minimum it needs the client id. This change sets...
I use ib_async in a separate QThread with its own QEventLoop. I had to adapt useQt for this. A custom QApplication context can now also be used. Minimal example QApplication:...
the code example from the readme does not return results: ``` from ib_async import * # util.startLoop() # uncomment this line when in a notebook ib = IB() ib.connect('127.0.0.1', 7497,...
Align `ib_async.ticker.Ticker.Bar` with TWS API `IBApi.Bar` class Reference -> https://interactivebrokers.github.io/tws-api/classIBApi_1_1Bar.html Change summary - add `wap` column - sort columns aligned with `IBApi.Bar`. - set Bar class `slots=True` - using pympler...
After running `ib.qualifyContracts()` on `COIL` contracts, it will pop an error when placing orders instead of going through. For some reason it seems to be specific to this contract, tried...
NY/Chicago instruments (like CBOE futures) work with US/Central and US/Eastern timezones in IB namespace. Those couldn't be recognized by python default date object.
I'm encountering an AssertionError when executing a bracket order using ib_async. The error suggests that the order key already exists, even though this is the first time I'm creating the...
Add SNAP MID order type, quite simple one. I noticed that other order-type classes were suggested, and I wanted to respond to [this comment](https://github.com/ib-api-reloaded/ib_async/pull/14#issuecomment-2159119576). The primary goal of this library,...