I am working on backtesting of bank nifty strategy but the issue is I am unable to fetch the historical data for it. To extract previous week expiry data I am passing this week expiry token with continuous as 1
@Gafoor - Zerodha historical api does not provide expired option contracts data. You have to store it at your end. This is one of the reason I switched from option trading to futures as zerodha has the index and futures data for a longer period. It will be helpful to do back testing efficiently compared to option trading.