Get PnL History
get_pnl_historyRetrieve time-series portfolio profit and loss data with realized and unrealized breakdowns for performance charting. Choose hourly, 4-hour, or daily intervals up to 90 days.
Instructions
Retrieve time-series portfolio P&L data for charting performance over time. Returns snapshots with realized/unrealized P&L breakdown.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Number of days of history to return (default 30, max 90). | |
| interval | No | Aggregation interval for snapshots (default '1d'). Use '1h' or '4h' for more granularity. | 1d |