Hi everyone,
I’m working on a research and backtesting project where I need expired F&O contract (instrument key)data (especially stock futures, not just indices). Unfortunately, I couldn’t find a consolidated source or list of expired contracts from Upstox or NSE archives — only the active contracts are easily available through the API.
If anyone here has:
-
A CSV / JSON / database dump of expired F&O stock contracts instrument keys (symbols + expiry dates)
-
Or knows a reliable method or endpoint to fetch those expired instruments using Upstox / NSE API
please share or guide me. ![]()
I’ve already tried exploring:
-
Upstox
get_instruments()(gives only current contracts) -
NSE Bhavcopy archives (incomplete for older months)
-
nseindia.com derivatives data (no symbol mapping continuity)
Any help, dataset, or script reference would be hugely appreciated — this would really help many quants doing historical analysis and regime-based strategy testing.
Thanks in advance!
— Nirav