Canceled orders are getting filled. Since the order did not get executed at the LIMIT price, my algo cancels the order and then places a new one. But zerodha executes both the orders regardless of the cancellation.
Can the API provide cancellation token every time you cancel the order.