getClosePosition
Retrieve closed option position data with entry and exit prices, fees, delivery details, and realized profit and loss. Works only for option contracts.
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 |
|---|---|---|---|
| category | Yes | ||
| symbol | No | ||
| startTime | No | ||
| endTime | No | ||
| limit | No | ||
| cursor | No |