

Step 4: Specify timezone offset from EST (eastern standard time). Use the time interval drop down to select your desired timeframe. For example, to download data for stock “INFY” listed in NSE, you have to enter “INFY.NS”ĭata is available in 1min, 5min, 15min, 30min, 60min, and daily timeframes. While for other exchanges you would need to append the exchange code after the symbol. Step 3: In the parameters screen, enter the symbol name and time interval for which you want to download data.įor US stocks, you can just enter the symbol name. Step 2: Open the Excel sheet, accept any warnings or ‘Enable content’ prompt. Step 1: Download the Excel sheet “Historical Stock Quotes.xlsm” from the end of this post. How to use this Excel Sheet?įollow the below steps to automatically download historical stock data into Excel sheet: For 2010 or 2013 edition of Excel, you will require the latest PowerQuery Add-in. You would need to download and install Microsoft Excel 2016 to use this utility. It provides some standard API endpoints to fetch data from different timeframes. You can use AlphaVantage API to download stock, currency and forex data into your Excel sheet. In order to avoid this manual work, we have come up with a solution to download historical stock data into Excel using AlphaVantage API.ĪlphaVantage is another free source of historical as well as real-time market data and looks like a promising replacement of Google or Yahoo finance.

Unfortunately, Google has deprecated their API, and now traders have to manually copy data from different sources into their Excel sheets. Most of the traders use Excel sheets for stock data analysis, and until Aug 2018 Google finance was the best source of free historical data. An accurate source of historical data is mandatory for the market analysis as well as backtesting.
