kiteconnect quote() function gives correct dictionary for NSE. but giving blank for NFO. Why?

code -
x = kite.quote("NSE:NIFTY 50")
y = kite.quote("NFO:NIFTY24MAR21500CE")

output -
{'NSE:NIFTY 50': {'instrument_token': 256265, 'tradingsymbol': 'NIFTY 50', 'timestamp': datetime.datetime(2024, 3, 15, 19, 30, 57), 'last_price': 22023.35, 'net_change': -123.3, 'ohlc': {'open': 22064.85, 'high': 22120.9, 'low': 21931.7, 'close': 22146.65}}}
  • mb12
    same here, can this be expedited please as it's critical????
    Tried even for futures e.g.
    y = kite.quote("NFO:BANKNIFTY24MARFUT")

  • MAG
    @mb12 were you trying this out yesterday/today?

    Your post date is March 16. The second post is today morning.
    How do you expect to receive market quotes when the market is closed?
  • mb12
    Well, then how are market quotes coming for stocks now? Thought it always worked earlier as well, it just returned the last quote. Please note that market quotes data also helps to get the current circuit limits & circuit limit % as well.
  • mb12
    anyway, it seems to be working now.
Sign In or Register to comment.