When I place order, kite API return order id, which I consider as successful placement of order. However, sometimes, order get cancelled with the message "17070 : The Price is out of the current execution range" and the status is updated as cancelled.
What is the best way to handle such situation so that Algo is aware that order was not successfully place.
Is this happening only post-market hours or during the market as well?