Hi
I got a LONG position and tried to set take-profit and stop-loss for the position. I used the bellow code but faced with stop loss price and taker profit price less then or equal 0.0 error from bingX.
order = Order(symbol='TRB-USDT', side="SELL", positionSide="LONG", type="TAKE_PROFIT_MARKET", quantity=0.1, price=78.2)
Perpetual.trade.create_order(order)
The evidence is attached. Please guide me.
BR,
Robin Dala

Hi
I got a LONG position and tried to set take-profit and stop-loss for the position. I used the bellow code but faced with stop loss price and taker profit price less then or equal 0.0 error from bingX.
order = Order(symbol='TRB-USDT', side="SELL", positionSide="LONG", type="TAKE_PROFIT_MARKET", quantity=0.1, price=78.2)
Perpetual.trade.create_order(order)
The evidence is attached. Please guide me.
BR,
Robin Dala