get_closed_orders
Fetch closed cryptocurrency orders from MAX Exchange. Query filled, cancelled, or failed trades with filters for market, status, and wallet type across spot or margin accounts.
Instructions
取得已關閉的訂單(已成交、已取消等) :param wallet_type: 錢包類型,'spot' 或 'm',預設 'spot' :param market: 篩選市場;留空查全部 :param limit: 回傳筆數,最多 1000,預設 50 :param state: 狀態篩選,done / cancel / finalizing / failed;留空查全部
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_closed_orders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet_type | No | spot | |
| market | No | ||
| limit | No | ||
| state | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |