No, I haven't CANCELLED the order from my end. Can you investigate further, as this has resulted in an unexpected loss to me. This can repeat in the future as well. I am using market_protection=2 while placing the orders.
order history gives this. order placed at datetime.datetime(2026, 4, 9, 12, 11, 11).
CANCELLED timestamp datetime.datetime(2026, 4, 9, 12, 12, 20)
How to handle such exceptions ? wait in a loop until I get the status as 'CANCELLED' ?
[{'account_i…
@DD1365 Thanks for your reply.
I tried to sell both the legs simultaneously but only one leg was executed and the other got rejected saying margin shortfall. This resulted in a huge loss, wiping out 3% of my capital in a very short span of time. …
@rakeshr These glitches are happening very frequently with Zerodha API. In the end, the client has to endure heavy losses. You will never learn from your mistakes.