cancel_orders
Batch cancel open orders for specific markets on MAX Exchange. Filter by spot or margin wallet and specify buy, sell, or both sides to clear pending orders.
Instructions
批次取消某市場的掛單 :param market: 市場 ID(必填),例如 'btcusdt' :param wallet_type: 錢包類型,'spot' 或 'm',預設 'spot' :param side: 只取消特定方向,'buy' 或 'sell';留空取消雙向
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": {
"market": "<market>"
},
"name": "cancel_orders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| market | Yes | ||
| wallet_type | No | spot | |
| side | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |