You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.
in ib.py:
def reqAccountSummaryAsync(self) -> Awaitable[None]:
reqId = self.client.getReqId()
future = self.wrapper.startReq(reqId)
tags = (
'AccountType,NetLiquidation,TotalCashValue,SettledCash,'
'AccruedCash,BuyingPower,EquityWithLoanValue,'
'PreviousEquityWithLoanValue,GrossPositionValue,ReqTEquity,'
'ReqTMargin,SMA,InitMarginReq,MaintMarginReq,AvailableFunds,'
'ExcessLiquidity,Cushion,FullInitMarginReq,FullMaintMarginReq,'
'FullAvailableFunds,FullExcessLiquidity,LookAheadNextChange,'
'LookAheadInitMarginReq,LookAheadMaintMarginReq,'
'LookAheadAvailableFunds,LookAheadExcessLiquidity,'
'HighestSeverity,DayTradesRemaining,DayTradesRemainingT+1,'
'DayTradesRemainingT+2,DayTradesRemainingT+3,'
'DayTradesRemainingT+4,Leverage,$LEDGER:ALL')
self.client.reqAccountSummary(reqId, 'All', tags)
return future
No 'ReqTMargin' and 'ReqTEquity' account summary tags exist and no events occur on that.
It is actually wrong in the IBKR doc at https://interactivebrokers.github.io/tws-api/classIBApi_1_1AccountSummaryTags.html
which is probably why it's in the code. It comes from 'regulation T'
Tags should be: 'regTEquity' and 'regTMargin'
I have tested this to work then as expected.
The text was updated successfully, but these errors were encountered: