Today, I noticed a change in how disclosed_quantity is updated after an order is partially filled on Zerodha.
Earlier behavior:
Once an order was partially filled, the disclosed quantity was updated to the pending quantity.
I could then modify the order without issues.
In my Java client, I normally pass quantity and price in the modify call — but quantity always remained the original order quantity, and only price was actually changed.
This workflow was fine until last week.
Current behavior (issue observed today):
When I try to modify the order (changing only price), I get this error: