Skip to main content

IB.reqPnL

Back to ib_async.ib.IB

reqPnL(self, account: str, modelCode: str = '') -> ib_async.objects.PnL

Completeness: fully-documented · Canonical ID: ib_async.ib.IB.reqPnL

Explicit policy override after evidence-backed documentation review.

Related API navigation

Sources and provenance

Start a subscription for profit and loss events.

Returns a .PnL object that is kept live updated. The result can also be queried from .pnl.

https://interactivebrokers.github.io/tws-api/pnl.html

Args: account: Subscribe to this account. modelCode: If specified, filter for this account model.