Order failure due to open interest limit

sivakrishna538
sivakrishna538 edited July 2020 in Java client
Hi,
I understand that order can fail due to exchange open interest limit as described in https://support.zerodha.com/category/trading-and-markets/trading-faqs/articles/what-are-open-interest-limits. How do I pro grammatically know that order failed due to above reason so that program can place different order. @rakeshr @sujith
  • themohammedfaisal
    If the strike you are trading is rejected, the rejection message will carry the range allowed at that point.
    Buy orders are blocked for this strike price due to open interest (OI) restrictions from the exchange. You can exit existing positions or place buy orders in option strikes within this range: 10850 - 11450 CE & PE

    You can program your system to read the range from the rejection message 10850 - 11450 CE & PE
Sign In or Register to comment.