How do I place stop loss for a stop market order?


I want to place a stop market order with stop loss like the image provided. I want the stop loss order to get activated as soon as the stop market order gets executed. How do I do this using binance futures api ?

As far as I know, there is no additional parameter to do this like in the UI. You could place SL order with same quantity after the stop market order has been filled. So you need a second api call to do that.

As what ozico said above, you can create an order with STOP_LOSS type in addition to the original order. Take a look at the /api/v3/order endpoint.
STOP_LOSS and TAKE_PROFIT will execute a MARKET order when the stopPrice is reached.