It looks like you're new here. If you want to get involved, click one of these buttons!
Node JS client
.Net API client
.Net / VBA / Excel (3rd party)
Algorithms and Strategies
Mobile and Desktop apps
Market data (WebSockets)
In this Discussion
Historical Instrument files
Can you share the earlier historical files as the API call always returns the current history file. I am sure that Zerodha would have the files for various months in its repository.
We don't have old instrument files. We keep updating same instrument file. Can you let us know why you need that file? if possible we can suggest for an alternative.
, I need past 1 year rolling month data for Gold, for that I need previous tokens file (I need this specifically for MCX commodities). Using current month instrument_token, i am able to fetch last few months data for Gold but I need rolling months data.
Also is it possible to fetch historical data using exchange_token rather than instrument_token
The problem is exchange keeps repeating tokens after a contract is expired. Hence we are also not able to provide historical data for expired contracts. We are planning to provide data for expired contracts in future but as of now, we can't guarantee any timeline.
We need the files to identify the tokens for historical expired futures. We can have a recheck at the data validity based on token reuse. But the availability of files will be of great value and help
We also internally fetch data using instrument tokens. As of now, we can't fetch data without instrument token that is the reason we are are not providing users. In future, we will come up with some alternate solution wherein users don't have to fetch data using instruments token.
We write data to the same file every day on our server. Hence we won't be able to provide old instrument data.
Any updates or workaround on this?
You can fetch continuous day data for the required MCX instrument(using the current instrument token).
explains more on this.