Hi @AE9225
We reviewed the logs and found that for a stop-loss limit (SL) buy order, you are passing a trigger price that is greater than the limit price. This is incorrect for SL buy orders.
If you intend to use a trigger price higher than the limit price, you should place a Limit order instead of an SL order. Please refer to the following article for detailed explanations of different order types: What are the different stock market order types on Upstox?
You can verify the same through the Order History API: Order History API Documentation. For example, I placed a Yes Bank SL order with a trigger price greater than the limit price and received the status message: The limit price is worse than the trigger price
, indicating that the modification was unsuccessful.
I hope this clarifies things!
Thank you.