BinanceOrderOco
Place a Binance OCO order to set both a take-profit and stop-loss simultaneously; when one triggers, the other cancels automatically.
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 |