Read a run's paper trading
The run's paper trading as last recorded: one entry per simulated account (one per quote
currency the run trades — never added together), with its starting capital, current
equity, realised PnL, open positions and KPIs. The KPIs are the same a backtest reports,
computed over the trades closed so far.
equity is the account's latest recorded value: at the last closed trade (equityKind: equity), or the last periodic mark-to-market while positions are open (equityKind: mark, taken every minute of market time). Until either exists the account holds its
starting capital.
A run started with accounts: instrument has one account per instrument instead: each
carries the instrument it is, with its own initialFunding, and none carries
instruments. The accounts of such a run are never added together either.
A position also says what it is worth. When the last mark valued it as it stands now, its
entry in openPositions carries markPrice (the price it was valued at), markedAtMs
(when) and unrealisedPnl (base times markPrice, minus cost). A position opened or
changed since the last mark, which is at most about a minute old, has none of the three yet.
The account says it for all its positions together: unrealisedPnl (their sum, 0 when it
holds nothing) and totalPnl (with its realisedPnl); both are absent while any of its
positions has no current mark.
An account is shared by every instrument of its quote currency, so each account also says
what it realised per instrument, in instruments: the trades, the realised PnL, its
contribution as a percent of the account's starting capital, the position it holds, what
that position is worth (unrealisedPnl, and totalPnl with the realised part) and its
KPIs. It is exact for what was realised, and it is not how the instrument would have done
on its own: its entries depended on what the others had locked from the same account.
Readable by the run's owner, and by anyone if the run is public and has reached the live
stage. A run started without a paper block answers 404.
Read a run's paper trading The run's paper trading as last recorded: one entry per simulated account (one per quote currency the run trades — never added together), with its starting capital, current equity, realised PnL, open positions and KPIs. The KPIs are the same a backtest reports, computed over the trades closed so far.
equityis the account's latest recorded value: at the last closed trade (equityKind: equity), or the last periodic mark-to-market while positions are open (equityKind: mark, taken every minute of market time). Until either exists the account holds its starting capital.A run started with
accounts: instrumenthas one account per instrument instead: each carries theinstrumentit is, with its owninitialFunding, and none carriesinstruments. The accounts of such a run are never added together either.A position also says what it is worth. When the last mark valued it as it stands now, its entry in
openPositionscarriesmarkPrice(the price it was valued at),markedAtMs(when) andunrealisedPnl(basetimesmarkPrice, minuscost). A position opened or changed since the last mark, which is at most about a minute old, has none of the three yet. The account says it for all its positions together:unrealisedPnl(their sum,0when it holds nothing) andtotalPnl(with itsrealisedPnl); both are absent while any of its positions has no current mark.An account is shared by every instrument of its quote currency, so each account also says what it realised per instrument, in
instruments: the trades, the realised PnL, its contribution as a percent of the account's starting capital, the position it holds, what that position is worth (unrealisedPnl, andtotalPnlwith the realised part) and its KPIs. It is exact for what was realised, and it is not how the instrument would have done on its own: its entries depended on what the others had locked from the same account.Readable by the run's owner, and by anyone if the run is
publicand has reached thelivestage. A run started without apaperblock answers404.