my intention is to use STOP_LOSS_LIMIT for some SELL orders.
It seems that if I set the stop price and the price to the same amount, it could works.
i.e. I’ve set both at 0.1566 here, and once it has reached the stop price, it automatically had set the limit order at the same amount, filling it totally exactly at 0.1566:
This error is not related to the relationship between the limit price and stop price, but the stop price and the last price.
When placing a STOP_LOSS_LIMIT BUY order, the stop price must be be greater than the last price. Use a TAKE_PROFIT_LIMIT BUY order if you intend to place a stop price lower than the last price.
and execute when the last price is 0.9999, it should work.
That is correct.
I try to execute “in loop”, but no one try have placed the order. Why? Isn’t the “last price” the “current close price”?
Yes, last price is the last trade price, also known as close price in context of a open kline. I suggest placing the STOP_LOSS_LIMIT stop price significantly greater to test the order out. (Order will not be filled unless the stop price is hit)
So its correct to say that while the current price is within the stop/limit prices (even if the same), the order will be filled progressively using market order type?
i.e. if I have oscillation between 1.0001 and 1.000, and I place both stop and price at 1.000 (BUY type), the traders will do market trade when the current price reach 1.000?