getClosedPnl
Retrieve historical closed position PnL records including entry/exit prices, fees, leverage, and realized PnL. Supports up to 730 days of data with pagination.
Instructions
Query closed PnL records for the current user. Results include entry/exit prices, fees, leverage, and realized PnL for each closed position.
Agent hint: Use this to retrieve historical closed position PnL. Supports up to 730 days of data. Max 7-day range per query. Results are sorted newest first. Use cursor for pagination. Each record includes entry/exit prices, PnL, fees, and leverage.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | Yes | ||
| symbol | No | ||
| startTime | No | ||
| endTime | No | ||
| limit | No | ||
| cursor | No |