batch_amend_order
Amend up to 20 derivative or 10 spot orders in a single request by specifying category and order modifications (symbol, orderId, optional qty, price, etc.).
Instructions
Amend multiple orders in a single request (max 20 for derivatives, 10 for spot).
Args: category: Product type: spot, linear, inverse, option. orders: List of order dicts. Each must contain: symbol, and either orderId or orderLinkId. Optional: qty, price, triggerPrice, takeProfit, stopLoss, etc.
Returns: Batch amendment results.
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>",
"orders": "<orders>"
},
"name": "batch_amend_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | Yes | ||
| orders | Yes |