撤单
platform_cancel_order【持仓与执行】撤销未成交挂单(写操作,需确认):exchangeOrderId 与 clientOrderId 二选一。(cost: free)(写操作,外部调用将以 apikey 身份直接执行)
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": {
"credentialId": "<credentialId>",
"symbol": "<symbol>"
},
"name": "platform_cancel_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | 交易对(必填) | |
| marketType | No | 市场类型 swap/spot(可选) | |
| credentialId | Yes | 交易所凭证 ID(必填) | |
| clientOrderId | No | 客户端订单 ID(与 exchangeOrderId 二选一) | |
| exchangeOrderId | No | 交易所订单 ID(与 clientOrderId 二选一) |