Open bashman opened 3 years ago
Any update?
I am thinking do it with websocket using user data stream https://dev.binance.vision/t/how-to-implement-otoco-tp-sl-orders-using-api/1622
I am thinking do it with websocket using user data stream https://dev.binance.vision/t/how-to-implement-otoco-tp-sl-orders-using-api/1622
can you post the code you used?
I am using binance futures, but I dont make orders/positions of otoco type.
At moment I am poling in the exchange for order status, puted by api rest, but, if I make operations from the binance futures dashboard, my websocket detect OTOCO orders type. If take profit or stoploss are triggered, all orders and positions closes inmediatly.
Positions and orders puted by api rest, It is mandatory to sense the orders and close them manually if/tp/sl are tiggered. :-(
Some advice?.