historical_data() does not return volume

svkr2k
Hi forum members,

here is the sample code to fetch candle data for "Nifty 50":
candles = kite.historical_data('256265', '2025-09-16 21:21:42', '2025-10-26 21:21:42', "60minute")
pls note, '256265' is instrument_token for Nifty 50.

The candles response had several candles, here is an example of one of the candle:
{'date': datetime.datetime(2025, 9, 17, 9, 15, tzinfo=tzoffset(None, 19800)), 'open': 25276.6, 'high': 25342.15, 'low': 25275.35, 'close': 25314.15, 'volume': 0}

please note that volume is Zero.
The volume info was Zero for all the candles.

Please help to get the volume information for Nifty index in the candles.

Thanks in advance.
Regards,
Raj.
  • salim_chisty
    The NIFTY 50 index (instrument_token = 256265) is a benchmark market index and not an exchange-traded security. Therefore, it does not have actual trade volume or open interest, as the index itself cannot be directly bought or sold on the NSE. You can check the similar discussion here.
Sign In or Register to comment.