Get equity curve
get_equity_curveRetrieve wallet equity time series for paper trading account to review performance and narrate results. Select daily or realized granularity for intraday or daily tracking.
Instructions
Wallet equity time series for the paper account — the basis for reviewing performance over time and narrating results. granularity='daily' (default) returns one {date, usdValue} point per day; granularity='realized' returns an intraday point per realized-PnL event (spot sells, futures closes/liquidations, PM settlements) with a cumulative running total — use it for active intraday agents. days = look-back window (1-365, default 30). Paper trading only (virtual mUSD). Fills follow paper_execution_v1 with a disclosed execution cost; see executionModel in quote/trade results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Look-back window in days (1-365, default 30). | |
| agentTrace | No | Optional private trace metadata stored in the caller's ledger. | |
| granularity | No | daily (default) = one point per day; realized = intraday point per realized-PnL event with cumulative total. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| body | No | ||
| httpStatus | Yes | ||
| ledgerStatus | No | ||
| ledgerEventId | No |