GET /api/v1/account/portfolio-history
Account portfolio time-series
Account portfolio time-series.
operationId: fetchPortfolioHistoryV1
Declared server differs from the callable one. This path declares its own
serversbase ofhttps://exchange.nexus.xyz, without the/api/exchangemount the document default carries. Measured 2026-09-02, the override is not routed —https://exchange.nexus.xyz/api/v1/account/portfolio-historyreturns404while the gateway form in the sample below is routed. A client generated from this contract will aim at the override; pin the gateway base until the per-network hosts are live. See Networks.
Not reachable through CCXT. Portfolio and equity time series. CCXT has no unified historical-equity method.
Authentication: hmacAuth.
Portfolio time-series for the authenticated account — equity, cumulative trading PnL, and cumulative traded volume — downsampled over the selected window (day, week, month, or all), oldest first. Extends /account/equity-history (equity only, ~1h window) with PnL and volume series across multiple windows; both endpoints derive equity from the same source, so the series never disagree.
Parameters
window
query
No
"day"
Time window to return. Also selects the server-side downsample cadence and point capacity: | window | cadence | max points | span | |--------|---------|-----------|------| | day | 5 min | 288 | 24 h | | week | 1 h | 168 | 7 d | | month | 6 h | 120 | 30 d | | all | 1 d | 366 | ~1 y | Omitted defaults to day. A value outside this set is rejected with 400 (invalid_window). If the parameter is repeated, the first value is used.
limit
query
integer
No
—
Maximum number of points to return. Capped server-side at the selected window's capacity (day 288, week 168, month 120, all 366); a larger value is clamped, not rejected. Omit to return the full window.
Responses
400
— (no schema declared)
—
401
— (no schema declared)
—
429
— (no schema declared)
—
Example
X-Signature is a placeholder: it is derived from this specific request. See Authentication for the canonical string and the HMAC rule.
Generated from eng/apps/exchange/api/openapi.json (spec 0.9.36). Do not edit by hand — regenerate with python3 product/docs/tools/api-reference/generate.py. Hand-authored context lives in the Guides pages.
Last updated

