While ibc.SetInfoAccount("F1234A") returns aggregate account info on IB's FA accounts,
I have noticed that ibc.SetInfoAccount("F1234A") does not return "ALL" with IB's STL accounts. (Prop trading accounts) - even though the Messages tab in the IBController will show the account as available.
All tabs will stay empty in the IBC except for the Messages tab and order status cannot be queried. Running ibc.SetInfoAccount("F1234") on the individual subaccounts works fine though.
Has anyone successfully queried aggregate pending orders and executions info with STL accounts?
Thanks.
SetInfoAccount is a tiny wrapper and it just calls
this TWS API directly:
reqAccountUpdates method:
and reqOpenOrders method:
See also:
https://interactivebrokers.github.io/tws-api/account_updates.html
https://interactivebrokers.github.io/tws-api/open_orders.html
So entire work is done by TWS. Can't comment on why TWS is not responding with values that you expect.
1 Like