How to get OHLC data for 10min candle

Hi, can you please provide info on how to get it?

Hi @vbhaya ,

Currently 10 mins timeframe ohlc data is not available,
The timeframe for the data. It can be:

  • ‘1’ for 1-minute candles
  • ‘5’ for 5-minute candles
  • ‘15’ for 15-minute candles
  • ‘25’ for 25-minute candles
  • ‘60’ for 60-minute candles
  • ‘DAY’ for daily candles

You can fetch data by using the below code:

historical_data = tsl.get_historical_data(Underlying='NIFTY', exchange='INDEX', timeframe='1')