OptionalcontributionrealisedPnl as a percent of the account's initialFunding (0-100 scale), so the contributions of the instruments add up to the account's realised return.
OptionalkpiThe KPIs of this instrument's closed trades alone, with the account's initialFunding as the capital (so pnlTotalPercent equals contributionPct). Absent until its first closed trade.
The other closed trades; a trade with a PnL of exactly zero is a loss.
OptionalopenWhat it holds now. Absent when it holds nothing.
Amount held, in the base asset.
What it cost, in the account's currency.
OptionalmarkedAtMs?: numberMarket time (epoch ms) of that mark.
OptionalmarkPrice?: numberThe price it was valued at in the last mark. Present, with markedAtMs and unrealisedPnl, only when that mark is of the position as it stands now.
OptionalunrealisedPnl?: numberbase times markPrice, minus cost, in the account's currency.
Sum of the PnL of its closed trades, in the account's currency.
OptionaltotalrealisedPnl plus unrealisedPnl. Absent when unrealisedPnl is.
Its closed trades.
OptionalunrealisedWhat its open position is worth over its cost as of the last mark; 0 when it holds nothing. Absent while its position has no current mark (see openPosition).
Closed trades with a PnL above zero.
One instrument's part of a shared paper account.