get_closed_pnl
Retrieve closed profit and loss records for linear or inverse products, filtered by symbol, time range, and pagination.
Instructions
Query closed profit and loss records.
Args:
category: Product type - linear, inverse
symbol: Symbol name
startTime: Start timestamp in milliseconds
endTime: End timestamp in milliseconds
limit: Limit per page (max 100, default 50)
cursor: Pagination cursor
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| cursor | No | ||
| symbol | No | ||
| endTime | No | ||
| category | Yes | ||
| startTime | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |