Request P&L for accounts
Request P&L for accounts
Subscribe using the IBApi::EClient::reqPnL function. Updates are sent to IBApi.EWrapper.pnl.
- Introducing broker accounts with less than 50 subaccounts can receive aggregate PnL for all subaccounts by specifying ‘All’ as the account code.
- With requests for advisor accounts with many subaccounts and/or positions can take several seconds for aggregated P&L to be computed and returned.
- For account P&L data the TWS setting “Prepare portfolio PnL data when downloading positions” must be checked.
EClient.reqPnL (
reqId: int. Request ID to track the data.
account: String. Account for which to receive PnL updates
modelCode: String. Specify to request PnL updates for a specific model.
)
Creates subscription for real time daily PnL and unrealized PnL updates.

