ib_async icon indicating copy to clipboard operation
ib_async copied to clipboard

Python sync/async framework for Interactive Brokers API (replaces ib_insync)

Results 88 ib_async issues
Sort by recently updated
recently updated
newest added

Hello, i'm using the following code to place an order: ``` trade = Ibkr2.myib.placeOrder(contract, order) # hack from: https://stackoverflow.com/questions/62248078/need-to-use-ib-sleep-to-send-multiple-orders-using-ib-insync Ibkr2.myib.sleep(0) # no need to wait until order is completely fullfilled...

Having multiple (linked) individual accounts does not allow one to call `ib.portfolio()` since it returns `[]` although there are plenty positions in all of the linked accounts. The only thing...

I am using ib.portfolio() to view the unrealized pnl of each of my positions in real time, but the pnl does not update anywhere near as fast as TWS itself...

There are significant changes in TWSAPI server versions can someone take up the task to update ib_async to include all the new changes? MIN_SERVER_VER_FUND_DATA_FIELDS = 179 MIN_SERVER_VER_MANUAL_ORDER_TIME_EXERCISE_OPTIONS = 180 MIN_SERVER_VER_OPEN_ORDER_AD_STRATEGY...

I have a code with try to switch between subscription to marketDepth because only 3 are possibles So I have a function: ``` def abonnement(self, fxSymbol='EURUSD'): contract = Forex(fxSymbol) if...

Working from the Notebooks in the documentation for `ib_async`, I am trying to place a cryptocurrency trade in my paper account as follows: ``` c = Contract(secType='CRYPTO', conId=541686651, symbol='BTC', exchange='ZEROHASH',...

Hi, I installed ib_async 1.0.3 and use ib gateway 10.30.1, when I tried to connect to the gateway, I found the following error: Python 3.12.7 | packaged by Anaconda, Inc....

Hello, I'm trying to get the trailing trigger price for the filled trail order (not the execution price) for that I'm using the orderStatusEvent : `self.ib_client.orderStatusEvent += self.on_order_status_event` but when...

I'm trying to use the reqHistoricalData method to get some prices for bonds. I'm experiencing what feels like a very strange behaviour on the surface. The function takes a really...

Sometimes when placing an order, I get a ton of these error messages: ``` ERROR:ib_async.Decoder:Error handling fields: ['101', '756733', 'SPY', 'STK', '', '0', '?', '', 'SMART', 'USD', 'SPY', 'SPY', 'SELL',...