MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / pnl

Method pnl

packages/ibkr/ref/source/pythonclient/ibapi/wrapper.py:827–831  ·  view source on GitHub ↗

returns the daily PnL for the account

(
        self, reqId: int, dailyPnL: float, unrealizedPnL: float, realizedPnL: float
    )

Source from the content-addressed store, hash-verified

825 logAnswer(current_fn_name(), vars())
826
827 def pnl(
828 self, reqId: int, dailyPnL: float, unrealizedPnL: float, realizedPnL: float
829 ):
830 """returns the daily PnL for the account"""
831 logAnswer(current_fn_name(), vars())
832
833 def pnlSingle(
834 self,

Callers

nothing calls this directly

Calls 2

current_fn_nameFunction · 0.90
logAnswerFunction · 0.85

Tested by

no test coverage detected