I am wondering how to open a Binance futures order (buy or sell) with a stop loss and multiple take profits.
I am able to open an order using CCXT in python: order = binance.create_limit_order(symbol='ETH/USDT', side='buy', amount=0.01, price=1200) order_id = order['id']
But I am not able to either use edit_order to edit the order to add the SL and TP.
Can someone post a small amount of code to push me in the correct direction???
I also have tried this already: how to change SL/TP with CCXT (python) on Binance Futures
I have the same issue, seems that what ever value you pass breaks the code... but I git mine to work as follows:
It creates the orders but its not like the SL/TP on the initial order:
I hope this helps