Hi guys, i keep having this error 'The relationship of the prices for the orders is not correct. when i send this request
('ws://localhost:4001/binanceOcoOrder?symbol=BTCUSDT&side=BUY&price=26000&quantity=0.1&stopPrice=27500&stopLimitPrice=27550');
Can someone explain what is wrong with my input? thanks
jonte
2
Hi,
Price Restrictions:
SELL: Limit Price > Last Price > Stop Price
BUY: Limit Price < Last Price < Stop Price
Please read https://binance-docs.github.io/apidocs/spot/en/#new-oco-trade to confirm the details;
If you still have questions, please share the exact request, especially the limit price, last price and stop price for further analysis.
1 Like