okx_amend_order
Modify an existing order's price or quantity on OKX exchange by providing order ID and instrument ID.
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": {
"instId": "<instId>",
"ordId": "<ordId>"
},
"name": "okx_amend_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| newPx | No | 新委托价格 | |
| newSz | No | 新委托数量 | |
| ordId | Yes | 订单ID | |
| instId | Yes | 产品ID |