Historical candle data

svkr2k
Dear Zerodha Team & Forum Members,

Kindly refer to the page: https://kite.trade/docs/connect/v3/historical/ that shows the method to fetch historical candle data.
Here is the scenario:

Today's date is 16-Jan-2026.
I would like to fetch data for an F&O Nifty Option 1 year ago.
i.e., I would like to fetch 5-min the ohlc candle data on 10-Feb-2025, for an option that expired on 28-Feb-2025 (1 year ago).

Kindly provide the method or sample code to do this.
Thanks in advance,
Raj.
Sign In or Register to comment.