okx_batch_orders
Execute multiple OKX exchange orders in one batch. Accepts up to 20 orders in JSON format for efficient trading.
Instructions
[L:WRITE] CAT:[交易] | → 请先调用 agent_catalog
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": {
"orders": "<orders>"
},
"name": "okx_batch_orders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orders | Yes | 订单数组JSON字符串,如 '[{"instId":"BTC-USDT","tdMode":"cash","side":"buy","ordType":"limit","sz":"0.001","px":"60000"}]'。最多20笔 |