How to fetch historical data of indices ?
-
Hello, everyone !
How to fetch historical candle data of indices like Nifty 50 and Nifty Bank ? Kindly guide. -
Hi @Ashish
Apologies for delayed response.
Indices of NSE and BSE of historical data can be provided by using exchange NSE and BSE. Tokens of specific stocks can be retrieved from search scrip api.Ref Doc:
https://smartapi.angelbroking.com/docs/Instruments
https://smartapi.angelbroking.com/docs/HistoricalThanks & Regards,
SmartAPI team -
-
Hi @Ashish,
You can utilize an API that provides historical data for these indices to retrieve historical candle data for the Nifty 50 and Nifty Bank. You can take the following actions:
-
Decide on a financial data supplier, such as Alpha Vantage, Yahoo Finance, or Quandl, that delivers historical candle data for the indexes you are interested in.
-
Open an account with the data provider and, if necessary, get an API key.
-
Make a request for historical index candle data using the API, indicating the date range, time interval, and any other necessary criteria.
-
The historical candle data will be returned by the API in a format like CSV or JSON, which you may parse and examine in your application.
-
You can carry out a variety of analyses using historical candle data, including technical analysis, charting, and backtesting.
Thank you.
-
-
Dont think they have it yet.