5 minute OHLC data - candle end time

Raja2908
What should be the end time format to fetch 5 minute OHLC data as per kite.historical_data()? For example, "2025-05-19 11:50:00" or "2025-05-19 11:49:59" ?
  • ANL
    ANL edited May 19
    To get a 5 minute candle, call exactly 11:50:00, not 11:49:59.

    from_date="2025-05-19 11:45:00"
    to_date="2025-05-19 11:50:00",
    interval="5minute" ,
    continuous=False,


    check docs: Historical candle data
Sign In or Register to comment.