get_trade_history
Query past trade executions using filters like category, symbol, order ID, and time range. Supports pagination for large datasets.
Instructions
Query trade execution history.
Args:
category: Product type - spot, linear, inverse, option
symbol: Symbol name
orderId: Order ID
startTime: Start timestamp in milliseconds
endTime: End timestamp in milliseconds
limit: Limit per page (max 100, default 50)
cursor: Pagination cursor
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"category": "<category>"
},
"name": "get_trade_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| cursor | No | ||
| symbol | No | ||
| endTime | No | ||
| orderId | No | ||
| category | Yes | ||
| startTime | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |