okx_cancel_spread_order
Cancel a specific spread order on OKX by providing the spread contract ID and order ID to manage open positions.
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": {
"sprdId": "<sprdId>",
"ordId": "<ordId>"
},
"name": "okx_cancel_spread_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ordId | Yes | 订单ID。必填 | |
| sprdId | Yes | 价差合约ID。必填 |