How to do a limit order with stop loss on Futures market?

Does anyone know what’s the best way to do a limit order on the futures market with a stop loss?

If I were to create two orders, the first as a “LIMIT” type, and a second as “STOP_MARKET” with a stopPrice, will the first order automatically get cancelled if the stop_market order is filled and vice versa?

Hi.
Unfortunately, So far this functionality is not provided. You have to implement the logic in your program.
Here are the resources may be helpful to you:

  1. POST /fapi/v1/order https://binance-docs.github.io/apidocs/futures/en/#new-order-trade
  2. DELETE /fapi/v1/order https://binance-docs.github.io/apidocs/futures/en/#cancel-order-trade
  3. User data stream order update event https://binance-docs.github.io/apidocs/futures/en/#event-order-update