BinanceSpotRest.Endpoints.Trading.OrderListOcoPost.AboveStopLossLimitBelowLimitMakerQuery (Binance Spot Rest v0.2.1)
View SourceOrder List Oco (post) - Above stop loss limit below limit maker query
### New Order list - OCO (TRADE)
POST /api/v3/orderList/ocoSend in an one-cancels-the-other (OCO) pair, where activation of one order immediately cancels the other.
- An OCO has 2 orders called the above order and below order.
- One of the orders must be a
LIMIT_MAKER/TAKE_PROFIT/TAKE_PROFIT_LIMITorder and the other must beSTOP_LOSSorSTOP_LOSS_LIMITorder. - Price restrictions (MODIFIED: it is wrong in original docs)
- If the OCO is on the
SELLside:LIMIT_MAKERprice(above) > Last Traded Price >STOP_LOSS/STOP_LOSS_LIMITstopPrice(below)TAKE_PROFIT/TAKE_PROFIT_LIMIT stopPrice(above) > Last Traded Price >STOP_LOSS/STOP_LOSS_LIMIT stopPrice(below)
- If the OCO is on the
BUYside:LIMIT_MAKER price(below) < Last Traded Price <stopPrice(above)TAKE_PROFIT/TAKE_PROFIT_LIMIT stopPrice(below) < Last Traded Price <STOP_LOSS/STOP_LOSS_LIMIT stopPrice(above)
- OCOs add 2 orders to the unfilled order count,
EXCHANGE_MAX_ORDERSfilter, and theMAX_NUM_ORDERSfilter.
Weight: 1
Data Source: Matching Engine
Full docs: Binance API – orderList/oco POST