Skip to main content

Endpoints

MethodEndpointDescription
GET/v1/valuations/positionsList position valuations (mark-to-market)
GET/v1/valuations/positions/downloadDownload position valuations as CSV
GET/v1/valuations/accountsGet account-level MTM summary
GET/v1/valuations/accounts/downloadDownload account summary as CSV
POST/v1/valuations/accounts:batchGetBatch get multi-account summaries
POST/v1/valuations/accounts/downloadBatch download multi-account CSV

Mark Price Types

TypeDescription
MARK_PRICE_TYPE_LASTLast traded price (default)
MARK_PRICE_TYPE_VWAPVolume-weighted average price (notional / volume)
MARK_PRICE_TYPE_MIDMid price ((high + low) / 2)

Valuation Data

Each position valuation includes:
FieldDescription
netPositionCurrent net position quantity
costTotal cost basis (scaled integer)
markPriceMark price used for valuation
marketValuePosition market value = net_position x mark_price
unrealizedPnlUnrealized P&L = market_value - cost
realizedRealized profit/loss
valuationTimeTime of valuation

Account Summary

The response includes an account-level summary with:
FieldDescription
totalCostSum of all position costs
totalMarketValueSum of all position market values
totalUnrealizedPnlSum of all unrealized P&L
totalRealizedPnlSum of all realized P&L
positionCountNumber of positions

Historical Valuations

Query valuations as they existed at a specific point in time:
ParameterTypeDescription
as_of_timeRFC3339 timestampExact point-in-time (e.g., 2026-01-02T17:00:00Z)
as_of_dateDate objectEnd-of-trading-day snapshot (year, month, day)
Mutually Exclusive: Use as_of_time OR as_of_date, not both.

Position-Level vs Account-Level

Use CaseEndpoint
Full position detail with MTMGET /v1/valuations/positions
Export all positions to spreadsheetGET /v1/valuations/positions/download
Single account book-close (totals only)GET /v1/valuations/accounts
Multi-account book-closePOST /v1/valuations/accounts:batchGet

Account-Level Valuations

Account-level endpoints return MTM totals without individual position rows. Use these for book-close accounting and balance reporting when you don’t need per-position detail. Single Account:
  • GET /v1/valuations/accounts - Returns account summary only
  • GET /v1/valuations/accounts/download - CSV with single summary row
Multi-Account (Batch):
  • POST /v1/valuations/accounts:batchGet - Query multiple accounts in one call
  • POST /v1/valuations/accounts/download - CSV with one row per account

Batch Operations

The batch endpoints support partial success. If some accounts are valid and others are not:
  • Valid accounts return their summaries in the summaries array
  • Invalid accounts return errors in the errors array with account name, error code, and message
This allows you to process results for valid accounts without failing the entire request.