1. The P&L series
GET /api/v1/trader/{address}/pnl returns the daily series plus rolled-up stats and drawdowns:
entries is the daily series (date, total_pnl, cumulative_profit, daily_change, markets_traded, total_volume). monthly, year_totals, and drawdown give you the longer view. stats is pre-rolled for all, d90, d30, and d7 windows.
2. The fill history
For the trades behind the curve, replay this wallet’s historical whale trades over a date range withGET /api/v1/whale-trades/history. It accepts a trader filter and a from/to window:
3. Per-market entries and exits
To reconstruct cost basis on a single market, use the position timeline with acondition_id. It gives ordered buys and sells with the running average price:
Scope and limits
- The whale-trade history covers fills above the whale threshold. Small trades below it are not in this feed; use the aggregated P&L series for the complete return picture.
- There is no single “closed positions” list endpoint. Reconstruct closed lots from the per-market timelines, or rely on the
pnlseries for net performance. /trader/{address}/exportreturns export metadata (ranges, counts, completeness), not raw rows.- Backtest history is Polymarket-only; see Platforms.