get_pnl_history
Retrieve realized profit and loss history, optionally filtered by exchange, symbol, quote, or time range for portfolio performance analysis.
Instructions
Fetch realized PnL history, optionally filtered.
Maps to GET /api/pnl_history -- query parameters confirmed against
OctoBot source (api/trading.py::pnl_history(), master branch, [V]
this session): exchange, symbol, quote, since, and scale are
all optional filters OctoBot itself reads from the query string. Omit
any you don't want to filter by. Read-only, not confirm-gated. Returns
OctoBot's own JSON body unchanged (NFR-8).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quote | No | ||
| scale | No | ||
| since | No | ||
| symbol | No | ||
| exchange | No |