I am trying to analyze historic data options of index funds. But I am stuck in 2 places.
- The Scrip Master is not showing data for expired contracts. So I am not able to get the Scrip Code for the same.
- The historic candle for some reason is returning empty list in the data part even for the active option contracts (ExchType-D) with status success. But the same is return data if I use the scrip code of cash (ExchType-C).
https://Openapi.5paisa.com/V2/historical/N/D/35127/1d?from=2025-09-01&end=2025-10-01
{
"status": "success",
"data": {
"candles": []
},
"scripcode": 0
}