Write a clean code
If errors.CustomError is a custom class, import it from its module.
also, Validate the JSON response structure.
Correct "Angle" to "Angel" in the error message
Hi @Phanilbb , Thank you for your message. When placing a limit buy order, it is important to remember that the limit price should be lower than the current Last Traded Price (LTP) in order for the order to be executed at the specified limit price. If the limit price is higher than the LTP at the time the order is placed, the trade will be executed immediately at the market price (LTP).
Apologies for delayed response.
We are providing order status such as open, pending, executed, cancelled, partially executed and so on the postback call for the orders placed during market hours.