Skip to main content
Returns a cumulative PnL time series for the wallet, suitable for plotting an equity curve.

Path Parameters

Query Parameters

string
default:"30d"
Time range. Accepted values: 1h, 4h, 24h, 7d, 30d, 90d, 365d, all.
string
default:"overall"
realized for the running realized-only curve; unrealized for current open-position marks; overall for the realized curve with current unrealized value appended.

Response

array
pnl_type=unrealized returns only a single data point representing the current snapshot. Use overall to get the full realized curve with current unrealized as the terminal point.

Example