get_algo_order_history
Retrieve the history of algorithmic (trigger) orders, filtered by instrument, order ID, state, and more. Supports pagination to access older or newer records.
Instructions
Get algo order history.
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": {
"orderType": "<orderType>"
},
"name": "get_algo_order_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instId | No | Instrument ID, e.g. BTC-USDT | |
| algoId | No | Algo order ID | |
| clientOrderId | No | Client-supplied order ID | |
| state | No | State: live, effective, canceled, order_failed | |
| orderType | Yes | Algo type (required): trigger | |
| after | No | Pagination - records earlier than this ID | |
| before | No | Pagination - records newer than this ID | |
| limit | No | Number of results, max 100. Default 20. |