GET /account/equity-history
Account equity history
Account equity history.
operationId: fetchEquityHistory
Not reachable through CCXT. Portfolio and equity time series. CCXT has no unified historical-equity method.
Authentication: hmacAuth.
Equity time-series for the authenticated account (5s cadence, ~1h window), oldest first.
Parameters
limit
query
integer
No
100
Points per page (default 100, capped at the 720-point retained window). Points sharing one sample millisecond are returned as one run, so a page can exceed this value — see “Cursor pagination”.
cursor
query
string
No
—
Opaque pagination cursor returned in the previous response's X-Next-Cursor header. Omit to fetch the first page. Treat the token as opaque: its format is not part of the contract and may change. Cursors do not expire. A malformed (unparseable) cursor is not an error — the server serves the first page. A well-formed cursor whose exact position has since been evicted from the retained window is not reset to the first page: pagination resumes at the nearest surviving boundary, so a resumed response is a continuation, not a fresh first page. A cursor is not bound to an operation or an account, so use it only with the operation that issued it. See “Cursor pagination” in the API description for how a walk terminates and what it does and does not guarantee.
Responses
401
— (no schema declared)
—
Example
curl -X GET 'https://exchange.nexus.xyz/api/exchange/account/equity-history' \
-H 'X-API-Key: nx_7f3a1b...' \
-H 'X-Timestamp: 1776033911836' \
-H 'X-Signature: <hmac-sha256>'import requests
headers = {
"X-API-Key": "nx_7f3a1b...",
"X-Timestamp": "1776033911836",
"X-Signature": "<hmac-sha256>"
}
response = requests.get("https://exchange.nexus.xyz/api/exchange/account/equity-history", headers=headers)
response.raise_for_status()
print(response.json())const response = await fetch("https://exchange.nexus.xyz/api/exchange/account/equity-history", {
method: "GET",
headers: {
"X-API-Key": "nx_7f3a1b...",
"X-Timestamp": "1776033911836",
"X-Signature": "<hmac-sha256>"
},
});
if (!response.ok) throw new Error(`${response.status} ${await response.text()}`);
console.log(await response.json());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

