Skip to main content
A pre-aggregated view of the wallet’s P/L. One row per outcome_id the wallet has touched, plus a cross-market totals block. Sorted by best-performing market first.

Endpoint

No query parameters.

Response

Use cases

  • PnL dashboard — render summary cards + per-market table in one query.
  • Tax/audit export — group by outcome_status='resolved' for finalized P/L.
  • Best/worst markets for a wallet — markets are pre-sorted by realized + settlement_realized_pnl DESC.

Examples

Notes

  • For active markets, unrealized_pnl_estimate is mark-to-mid using the latest poll snapshot. Mids can be stale or absent for sides with no active maker.
  • settlement_realized_pnl is 0 until the market resolves. For the canonical “what did this wallet make on this market” once settled, use realized_pnl + settlement_realized_pnl.
  • net_pnl_after_fees does NOT subtract unrealized — it’s the booked P/L only.