Skip to main content
GET
Get portfolio performance

Authorizations

x-api-key
string
header
required

A scoped API key created in the PaperDrill dashboard.

Response

Portfolio returned successfully.

quoteAsset
string
required
asOf
string<date-time>
required
source
enum<string>
required

Where the valuation came from. live is the worker snapshot.

Available options:
live,
projection,
engine
partial
boolean
required

True when at least one funded asset could not be priced.

cash
string
required

Quote-asset available plus locked balance.

Pattern: ^\d+(\.\d+)?$
Example:

"125.50"

positionsValue
string
required

Market value of all priced positions.

Pattern: ^\d+(\.\d+)?$
Example:

"125.50"

equity
string
required

Cash plus positions value.

Pattern: ^\d+(\.\d+)?$
Example:

"125.50"

costBasis
string | null
required

Total remaining cost basis of open positions.

Pattern: ^\d+(\.\d+)?$
Example:

"125.50"

realizedPnl
string | null
required

A signed decimal encoded as a string.

Pattern: ^[+-]?\d+(\.\d+)?$
Example:

"+3.40"

unrealizedPnl
string | null
required

A signed decimal encoded as a string.

Pattern: ^[+-]?\d+(\.\d+)?$
Example:

"+3.40"

netContributions
string | null
required

Net deposits and credits used as the PnL baseline.

Pattern: ^\d+(\.\d+)?$
Example:

"125.50"

totalPnl
string | null
required

Equity minus net contributions.

Pattern: ^[+-]?\d+(\.\d+)?$
Example:

"+3.40"

totalPnlPercent
string | null
required

A signed decimal encoded as a string.

Pattern: ^[+-]?\d+(\.\d+)?$
Example:

"+3.40"

baselineEquity
string | null
required

Deprecated alias for netContributions.

Pattern: ^\d+(\.\d+)?$
Example:

"125.50"

baselineAt
string<date-time> | null
required

Time the contribution baseline was last recorded.

pnl
string | null
required

Deprecated alias for totalPnl.

Pattern: ^[+-]?\d+(\.\d+)?$
Example:

"+3.40"

pnlPercent
string | null
required

Deprecated alias for totalPnlPercent.

Pattern: ^[+-]?\d+(\.\d+)?$
Example:

"+3.40"

positions
object[]
required