binance_us_cust_oco_order
Place a custodial OCO order that combines a limit order with a stop-loss so one leg automatically cancels when the other executes.
Instructions
Place a new OCO (One-Cancels-the-Other) order through the custodial solution.
⚠️ REQUIRES CUSTODIAL SOLUTION API KEY
OCO orders combine a limit order with a stop-loss order. When one executes, the other is automatically canceled.
Price Restrictions:
SELL: Limit Price > Last Price > Stop Price
BUY: Limit Price < Last Price < Stop Price
Quantity: Both legs must have the same quantity (iceberg qty can differ).
Note: OCO counts as 2 orders against rate limits.
Response includes orderListId, orders array, and orderReports with 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>",
"side": "<side>",
"quantity": "<quantity>",
"price": "<price>",
"stopPrice": "<stopPrice>"
},
"name": "binance_us_cust_oco_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rail | Yes | Custodial partner name (e.g., ANCHORAGE, BITGO). Must be uppercase. | |
| side | Yes | Order side: BUY or SELL | |
| asset | No | Asset for ExpressTrade | |
| price | Yes | Limit order price | |
| symbol | Yes | Trading pair (e.g., BTCUSD, ETHUSD) | |
| quantity | Yes | Order quantity (same for both legs) | |
| stopPrice | Yes | Stop trigger price | |
| stopIcebergQty | No | Iceberg qty for stop leg | |
| stopLimitPrice | No | Limit price for stop-limit leg | |
| limitIcebergQty | No | Iceberg qty for limit leg | |
| allowExpressTrade | No | Enable ExpressTrade | |
| stopClientOrderId | No | Unique ID for the stop leg | |
| limitClientOrderId | No | Unique ID for the limit order | |
| stopLimitTimeInForce | No | Time in force for stop-limit leg |