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.
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": "BinanceOrderOco"
}
}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 |