Hi, The historical data API fails intermittently while getting data. For example, data for STAR for Aug16 gives error in first few attempts, but succeeds in 3rd or 4th attempt.
It will be helpful if you can provide a table of which instruments are available for which dates.
Or make it robust - if the data is available, the call shouldn't fail.
We have minute level data for only 6 to 8 months.
Day's data you can fetch till 2005 for NSE and 2008 for BSE.
I am afraid it is not possible to back-populate data.
We don't clear old data, users can get data from same start date in future also.