Skip to main content

IB.reqPnLSingle

Back to ib_async.ib.IB

reqPnLSingle(self, account: str, modelCode: str, conId: int) -> ib_async.objects.PnLSingle

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

Explicit policy override after evidence-backed documentation review.

Related API navigation

Sources and provenance

Start a subscription for profit and loss events for single positions.

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

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

Args: account: Subscribe to this account. modelCode: Filter for this account model. conId: Filter for this contract ID.