How to calculate if a given instrument allows market buy/sell orders or not?

sudipto
As far as I can make out, Kite API doesn't have a direct field in the instruments API to indicate whether market buy/sell orders are allowed on the API. However Zerodha Web app does give a warning at the front end if one attempts to place buy/sell market orders on an instrument which is not allowed. So I am guessing that there is some formula that is used by the Zerodha App based on various liquidity parameters of the instrument to come to that determination.
Could you please share the criteria for the same. I would like to use the same in my app since I would prefer to place market orders as far as possible but at the same time not get rejected from placing an order if the instrument does not allow market order.
Sign In or Register to comment.