Easiest way to know if security is blocked for trading

Hi Everyone,

I noticed that GoldPetal futures are available from March to August based on the current date, but only the March, April, May, and June contracts are currently tradable.

Is there a way to check whether a given security is tradable before placing an order? I use algo trading and want to avoid failed orders due to non-tradable instruments.

The same issue applies to options like Nifty 25Dec 20000 PE — it’s available on some days but not others. How can I confirm its tradability without actually attempting to place a buy order?

Also, there have been instances where I accidentally placed a market order while trying to spoof one, which cost me the spread. A reliable way to verify tradability beforehand would really help avoid these costly mistakes.

Thanks,
Abhishek

2 Likes

@Abhishek_B AFAIK for algo trades you can first fetch the Kite instruments list using the instruments API and keep the tradable instruments ready.

Then the algo can check each contract using a margin check or a small test order (preferably a limit order for maybe 5%-10% away) to see if the broker allows trading it. If its rejected it (for example, a far-month contract), the algo should skip it and trade only the allowed ones.

1 Like

@siva : Can you please let me know the logic implemented in zerodha to ban a given futures or option script from trading?