binance_us_cust_cancel_oco
Cancels an entire OCO order list and both associated legs using a custodial solution API key, returning canceled order details.
Instructions
Cancel an entire OCO (One-Cancels-the-Other) order list.
⚠️ REQUIRES CUSTODIAL SOLUTION API KEY
This cancels both legs of the OCO order.
Response includes orderListId, orders array, and orderReports with canceled order details.
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": {
"rail": "<rail>",
"symbol": "<symbol>",
"orderListId": "<orderListId>"
},
"name": "binance_us_cust_cancel_oco"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rail | Yes | Custodial partner name (e.g., ANCHORAGE, BITGO). Must be uppercase. | |
| symbol | Yes | Trading pair (e.g., BTCUSD) | |
| orderListId | Yes | OCO order list ID to cancel | |
| newClientOrderId | No | New client order ID for cancel operation | |
| listClientOrderId | No | List client order ID |