get_order_history
Retrieve filtered order history from a cryptocurrency exchange by instrument, order type, state, time range, or pagination.
Instructions
Get order history.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_order_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instId | No | Instrument ID, e.g. BTC-USDT | |
| orderType | No | Order type filter: market, limit, post_only, fok, ioc | |
| state | No | State filter: canceled, filled, partially_canceled | |
| after | No | Pagination - records earlier than this orderId | |
| before | No | Pagination - records newer than this orderId | |
| begin | No | Filter begin timestamp (ms) | |
| end | No | Filter end timestamp (ms) | |
| limit | No | Number of results, max 100. Default 20. |