Order modification issue

HowUTrade
Hi @sujith @rakeshr

We encountered a peculiar issue today, this is the first time it happened
The issue happened in all our accounts, but sharing orderId from one account for debug at your end

Symbol: NIFTY2230314750PE
Time: 25-02-2022 09:28:30
OrderId: 220225000429696

Here is our execution logic.

1. Place a BUY LIMIT order with buffer (mostly it fills in the 1st attempt)
2. After 1 sec delay, we will check the order status if it is open then modify the order to MARKET
Point2 is run in a loop for 3 minutes with 1 sec delay between each call

The issue was, the order was not modified to MARKET.
Eventually we hit throttle and the algo exited with error "Maximum allowed order modifications exceeded"

We just want to confirm what was the issue, so that adjust our code accordingly.
Our guess was, there may less Total Ask Quantity. (since this is a very far OTM we didn't log the data, so unable to check this fact)
Could you pls check at your end why the order was not Modified to MARKET despite multiple requests?

Thanks
  • rakeshr
    Your all modifications were successful(uptil 25, post which it was rejected by system because of rate-limit exceeding). Just that, because of ill-liquidity your order got converted to LIMIT. You can check this article to know more.
  • HowUTrade
    Thanks for the clarification
This discussion has been closed.