Closed akjoshi009 closed 1 year ago
order_id = kite.place_order(tradingsymbol="BANKNIFTY7JUL33700PE", exchange=kite.EXCHANGE_NFO, transaction_type=kite.TRANSACTION_TYPE_BUY, quantity=25, variety=kite.VARIETY_REGULAR, order_type=kite.ORDER_TYPE_MARKET, product=kite.PRODUCT_MIS, validity=kite.VALIDITY_DAY)
after executing this error The instrument you are placing an order for has either expired or does not exist
You are using the wrong trading symbol for the weekly banknifty contract, it should be BANKNIFTY2270733700PE. Go through the kite connect dev forum FAQs here to know more about this.
BANKNIFTY2270733700PE
order_id = kite.place_order(tradingsymbol="BANKNIFTY7JUL33700PE", exchange=kite.EXCHANGE_NFO, transaction_type=kite.TRANSACTION_TYPE_BUY, quantity=25, variety=kite.VARIETY_REGULAR, order_type=kite.ORDER_TYPE_MARKET, product=kite.PRODUCT_MIS, validity=kite.VALIDITY_DAY)
after executing this error The instrument you are placing an order for has either expired or does not exist