portfolio_boPnl

Get binary-options realized PnL for an authenticated account, grouped by event and ordered newest event first. cursor is an exclusive event id; event_id returns a single event. Every outcome the account has traded is reported, including markets still open or unsettled, so an entry never disappears as the account trades. Per outcome, total_pnl is all realized PnL so far including settlement, and settlement_pnl is null until the market settles with a position to settle, then the string 0.000000 for an actual zero-PnL settlement. An event's total_pnl is the sum of its listed outcomes. Missing display metadata uses zero/empty values.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

total_pnl is realized PnL gross of fees, including settlement. Subtract trading fees separately when calculating net PnL. settlement_pnl is null until the market settles with a position to settle; a settled zero-PnL position returns "0.000000". Supply an account auth token in the authorization header. See Positions and settlement for payout semantics and an example.

Query Params
string

Account auth token, supplied as an alternative to the authorization header.

int64
required
int64
int64
int64
1 to 100
Defaults to 100
Headers
string

make required after integ is done

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json