BinanceOrderOco
Submit a One-Cancels-the-Other (OCO) order on Binance with limit and stop prices, automatically canceling one side when the other executes.
Instructions
Send a new OCO (One-Cancels-the-Other) order on Binance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | Order side: BUY or SELL | |
| price | Yes | Order price | |
| symbol | Yes | Symbol of the trading pair (e.g., BTCUSDT) | |
| quantity | Yes | Order quantity | |
| stopPrice | Yes | Stop price | |
| stopIcebergQty | No | Stop iceberg quantity | |
| stopLimitPrice | No | Stop limit price | |
| limitIcebergQty | No | Limit iceberg quantity | |
| newClientOrderId | No | Client order ID for the limit order | |
| stopClientOrderId | No | Client order ID for the stop order | |
| stopLimitTimeInForce | No | Stop limit time in force |