getClosePosition
Retrieve closed option position data including entry/exit prices, fees, delivery details, and realized PnL. Supports up to 6 months of history with a default 24-hour range.
Instructions
Query closed option position data including entry/exit prices, fees, delivery details, and realized PnL. Only applicable to option contracts.
Agent hint: Use this to retrieve closed option positions. Only category=option is supported. Default time range is 24 hours. Max range per query is 7 days. Supports up to 6 months of history. Returns entry/exit prices, delivery info, fees, and realized PnL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| cursor | No | ||
| symbol | No | ||
| endTime | No | ||
| category | Yes | ||
| startTime | No |