AArtery

Cumulative TOTAL PnL curve for a bound wallet

get/v1/me/wallets/{id}/pnl-curve

**Metric: TOTAL PnL** (realized + unrealized) — NAV-based `pnl(t) = ΔNAV − Δnet-deposits`, i.e. the same Profit/Loss curve a provider's own UI shows: Hyperliquid via `info portfolio.pnlHistory`, Polymarket via the official `user-pnl` series (registry-independent: marks even unregistered short-lived markets). Node-first: served from our local NAV snapshots when they provably match official (netDeposits derived as `accountValue − pnlHistory`), else official `pnlHistory` via the node proxy. Each point is `{ t (unix seconds), pnl }`, ascending. Cached ~60s with request coalescing. NOTE: this is PnL, not NAV — NAV(t) = cumulativeNetDeposits(t) + pnl(t). **Choosing the right PnL curve:** this endpoint = TOTAL PnL for ONE wallet. For **cross-provider merge** (PM+HL on one grid) use `/v1/portfolio/pnl`. For **REALIZED-only** (FIFO closed-trade, excl. unrealized) use `/v1/me/pnl/curve`.

Cumulative TOTAL PnL curve for a bound wallet · Artery API Docs