The Add-in enables on-demand downloading of historical data from Yahoo Finance into Excel.
There are three different ways to get historical data into your Excel spreadsheet:
If you want just a single historic data point in an Excel cell then you can use this formula:
=EPF.Yahoo.Historic.Close("TSLA", "1 May 2019")
Which will put the close price of Tesla stock on 1 May 2019 into the current cell, as shown below:
More historical formulas for single cells can be found here: Formula Reference: Yahoo Finance
To download a historical timeseries into Excel you can use an Array Formula such as:
Which will download the last 10 days of price history for Microsoft stock, including Open, High, Low, Close and Volume. Note that this formula "looks back" 10 days so each time you refresh the sheet the last 10 trading days of historical data will be downloaded.
For example, this is the result of refreshing the sheet on the 19th February 2020:
This is very useful for backtesting trading strategies or providing trading signals based on Excel based logic. More formulas for historical timeseries can be found here: Array Formulas: Yahoo Finance
You can download historical data without using formulas at all, which is great for a one-off or ad-hoc download of historical prices.
To get started, launch the Configuration Pane and search for the instrument in the Search box on the Yahoo Finance tab. Select the instrument, for example here Apple Inc. (AAPL) is selected:
Next, you need to specify the type of data you wish to download:
Ensure the cell where you would like the data to be downloaded to is selected in your spreadsheet.
Press the "Download Data" button and the requested historical data will be downloaded from Yahoo Finance into your spreadsheet: