Missing Index Data

sabyasm
sabyasm edited November 29 in Python client
Data for 'NIFTY CONSUMPTION' index is missing in the historic API call.


>>> di[di.tradingsymbol=='NIFTY CONSUMPTION']
instrument_token exchange_token tradingsymbol name \
2 257545 1006 NIFTY CONSUMPTION NIFTY CONSUMPTION
3 257545 1006 NIFTY CONSUMPTION NIFTY CONSUMPTION

last_price expiry strike tick_size lot_size instrument_type \
2 0.0 0.0 0.0 0 EQ
3 0.0 0.0 0.0 0 EQ

segment exchange
2 NSE-INDICES NSE
3 INDICES NSE
>>>kite.historical_data(257545,'2018-11-19','2018-11-20','day')
[]


The strange part is the index is working fine in kite web.


  • rakeshr
    @sabyasm
    We don't store historical data for few indices(which includes NIFTY CONSUMPTION). So, only live feeds can be seen. You can use kite ticker and store them at your end for future reference.
  • sabyasm
    @rakeshr

    Any particular reason for this?

    From outsider's perspective it would make more sense for the kite userbase that zerodha maintains the data than individuals do that for the sake of consistency, usability and maintainability.
Sign In or Register to comment.