I originally built this tool to download expired index options/futures data from Upstox for my own backtesting needs (tested with Nifty 50). Since others might find it useful, Iâm sharing it here!
Whatâs Inside?
Fetches: Expired futures/options & index ( Jan 2025 data tested).
Automated: Bulk-download OHLC+OI data for old contracts.
Tested: Works reliably for Nifty/BankNifty weekly/monthly expiries.
Limitations:
Only 6 months data as per Upstox
Requires Upstox API key (free tier supported).
Want to Help?
Suggestions welcome!
Report issues if you hit snags.