binance_us_new_oco
Place a new One-Cancels-the-Other order on Binance.US, combining a limit order and stop-loss order so when one triggers, the other is cancelled.
Instructions
Place a new OCO (One-Cancels-the-Other) order on Binance.US. OCO orders combine a limit order with a stop-loss order. When one triggers, the other is automatically cancelled. Note: For SELL OCOs, limit price > stop price. For BUY OCOs, limit price < stop price.
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": {
"symbol": "<symbol>",
"side": "<side>",
"quantity": "<quantity>",
"price": "<price>",
"stopPrice": "<stopPrice>"
},
"name": "binance_us_new_oco"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | Order side: BUY or SELL | |
| price | Yes | Limit order price | |
| symbol | Yes | Trading pair symbol (e.g., BTCUSD, ETHUSD) | |
| quantity | Yes | Order quantity for both legs of the OCO | |
| stopPrice | Yes | Stop price that triggers the stop-loss order | |
| recvWindow | No | Receive window in milliseconds (max 60000) | |
| trailingDelta | No | Trailing delta in BIPS for the stop leg | |
| stopIcebergQty | No | Iceberg quantity for the stop-loss leg | |
| stopLimitPrice | No | Limit price for the stop-loss leg. If provided, stopLimitTimeInForce is required. | |
| limitIcebergQty | No | Iceberg quantity for the limit leg | |
| newOrderRespType | No | Response type: ACK, RESULT, or FULL | |
| listClientOrderId | No | Unique ID for the entire OCO order list | |
| stopClientOrderId | No | Unique ID for the stop-loss leg | |
| limitClientOrderId | No | Unique ID for the limit order leg | |
| stopLimitTimeInForce | No | Time in force for stop-limit order: GTC, IOC, or FOK. Required if stopLimitPrice is provided. | |
| selfTradePreventionMode | No | Self-trade prevention mode |