NIFTY FUTURES AMO REJECTED

tapanjbhatt
I use latest kite connect python client (kiteconnect==4.0.2). When i placed order like this, it gets rejected with 'instrument is invalid':

order_id = kite.place_order(tradingsymbol='NIFTY22MARFUT',
exchange=kite.EXCHANGE_NSE,
transaction_type= kite.TRANSACTION_TYPE_BUY,
quantity=50,
variety=kite.VARIETY_AMO,
order_type=kite.ORDER_TYPE_MARKET,
product=kite.PRODUCT_CNC,
validity=kite.VALIDITY_DAY)

I have doubly made sure that the trading symbol is correct one, in upper case as retrieved from "https://api.kite.trade/instruments/NFO".

The same order gets accepted from kite connect API if I pass symbol 'RELIANCE', why 'NIFTY22MARFUT' does not work.

Also, order for 'NIFTY22MARFUT' gets successfully placed from kite UI order window, only kite connect API fails.

Not sure this happens only for AMO orders or all orders of this instrument. it's night time so I could test only AMO as off now.
This discussion has been closed.