Possible Change in disclosed_quantity Handling on Zerodha

cnavani
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:

java.lang.Exception: Modify Order:: Disclosed quantity should be greater than 10% of total order quantity for NSE.
[Read more.](https://support.zerodha.com/category/trading-and-markets/kite-web-and-mobile/others/articles/what-is-disclosed-quantity-feature-and-how-to-use-it)

Order id 250811500019571

Noticed changes:
  • disclosed_quantity is now getting updated with seemingly random values after partial fills. (screen shot attached)
  • Even though I’m not changing the quantity (only price), the modify call fails with the above error.

Questions:
  1. Has there been any change in how Zerodha handles disclosed_quantity for partially filled orders?

  2. How can this be fixed to restore the earlier functionality?

Please see attached

  • nagavenij
    We are looking into this.
  • scaars13
    @nagavenij , any updates on this? I also see similar error messages intermittently while trying to modify partially filled orders with disclosed_quantity param as well
  • nagavenij
    We're checking this and will provide an update shortly.
  • scaars13
    @nagavenij , any updates?
  • scaars13
    @nagavenij , are there any updates on this? Failure to modify orders on time (which is just random, only see this issue in a subset of modifications), is leading to slippage which is worsening the issue
  • cnavani
    when sending modify request, make sure to update disclosedQuantity as well which is 10% or more of the pending quantity. That is how i fixed it on my side.
Sign In or Register to comment.