Get portfolio
get_portfolioRetrieve a paper-trading account summary: wallet ID, equity and cash partitions, 24h/all-time PnL, open spot orders, and league/XP progression.
Instructions
Get the lean, PII-free paper account summary: walletId, equity (equity.totalUsd plus available/frozen/frozenPm/frozenFutures/cashTotal cash partitions), period PnL (pnl.24hUsd … allTimePct), open spot orders, and a progression block (league/XP). 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 |
|---|---|---|---|
| fiat | No | Display fiat code (default USD). Equity stays USD-denominated. | |
| locale | No | Locale (default en). | |
| agentTrace | No | Optional private trace metadata stored in the caller's ledger. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| body | No | ||
| httpStatus | Yes | ||
| ledgerStatus | No | ||
| ledgerEventId | No |