SetInfoAccount with IB's STL accounts

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:

https://interactivebrokers.github.io/tws-api/classIBApi_1_1EClient.html#aea1b0d9b6b85a4e0b18caf13a51f837f

and reqOpenOrders method:

https://interactivebrokers.github.io/tws-api/classIBApi_1_1EClient.html#a11e9c0dce640a3b8ed7a221792412c05

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