Today (28th Feb 2020), my automated trading program tried to place a Cover order on Nifty March Futures at 09:17:34 till about 09:17:53 . It was a sell order for at market price quantity of 150, with a Stoploss of about Rs 45 above the Last Traded Price . Below are two lines from that log. 28-Feb-2020 09:17:35.195 Placing Order Type: SELL, LTP: 11322.65, SL: 11367.9, Qty: 150 28-Feb-2020 09:17:54.938 Placing Order Type: SELL, LTP: 11335.75, SL: 11381.1, Qty: 150
None of these orders were accepted and each API call returned with a Kite Exception (since the exception does not carry the reason, I don't know what the reason is). I checked margins, which were adequate. The only reason I could guess is that today was a sharp gap down day, and the margin range for NIFTY FUTURES hadn't been updated for a few minutes after open, such that my stoploss might not been in the acceptable range. I am trying to validate from you whether that is possible?