Stop loss and take profit at the same time on binance

I found on some articles that in order to place a stop loss and a take profit at the same time for a long order, one should buy a market order and sell a stop limit order (with the stop loss value for the stop price and price) in a ddition to sell a limit order (with the take profit value as a limit) but it’s not working if the take profit was hit.
In that case, we still have a stop limit order which is executed if the stop loss was then touched.
Do you have a working idea to get the SL and TP added to a trade?
Thanks in advance for your answer.

Thanks for your suggestion, unfortunately OCO order is not available in futures yet.

Do you know if this functionality will be implemented ?

@elterrien, thanks for the question. Unfortunately we don’t have the details regarding this implementation.

Thank you Zakria,
Could you please provide me with the article, I’m currently working on some implementation for TP/SL using future Api

Hey man, did you solve the problem?