Nasdaq Data Link Excel Formula Reference

Excel Price Feed Nasdaq Data Link Example Spreadsheet Download
Click the Excel icon to download a sample spreadsheet with Excel Price Feed Nasdaq Data Link formulas.

The Add-in provides two formulas which are used to populate your spreadsheet with Nasdaq Data Link data. Both of these formulas require you to specify both a Nasdaq Database Code and a Nasdaq Dataset Code.

If you haven't done so already please follow the Nasdaq Data Link setup instructions first before using these formulas. Please note the Nasdaq rate limits, these may affect the frequency you can refresh your Nasdaq formulas.

Nasdaq Data Link Database and Dataset codes

To find the name of the Database and Dataset for the data you are interested in, use the search function on the Nasdaq website.

For example, here I have searched for one of the "S&P 500 mini" Weekly Commitment of Traders reports from the US Commodity Futures Trading Commission (CFTC):

Excel Price Feed Configuration Pane Button

Highlighted in yellow is the Database code and the Dataset code separated by a "/", which in this case is:

  • Database code: CFTC
  • Dataset code: 13874A_F_CHG

If you drill-down on the dataset you can also see this information in the top right corner of the webpage:

Nasdaq database dataset example

EPF.Nasdaq.Last

This formula retrieves a single data point from Nasdaq Data Link. This data point will always be the most recent data point for the specified Nasdaq database/dataset.

=EPF.Nasdaq.Last(databaseCode, datasetCode, field)

The input parameters required are:

Parameter Description
Database Code The Nasdaq database code.
Dataset Code The Nasdaq dataset code.
Field The name of the field.

The section above explains how to find the Database Code and Dataset Code. To find the Field name, simple copy the column header for the data you are interested in. For the example below I would like the "Open Interest - Change" data in my formula:

Nasdaq field example

Therefore the formula to populate an Excel cell with this number will be:

=EPF.Nasdaq.Last("CFTC", "13874A_F_CHG", "Open Interest - Change")

Which is currently -61800. When the next COT report is released this number will be automatically updated with the new number:

Excel Price Feed COT report example

Here are some other examples, including commodity prices from CME (Chicago Mercantile Exchange), ICE (Intercontinental Exchange) and GMEX (Minneapolis Grain Exchange):

Excel Nasdaq Data Link CME ICE GMEX commodities example

EPF.Nasdaq.HistoricLookback

This formula retrieves a series of data points (rows) from Nasdaq. The data points will always be the most recent data points for the specified Nasdaq database/dataset.

=EPF.Nasdaq.HistoricLookback(databaseCode, datasetCode, numberOfRows)

The input parameters required are:

Parameter Description
Database Code The Nasdaq database code.
Dataset Code The Nasdaq dataset code.
Number of rows The number of rows/periods to return.

For example, to return the last 5 datapoints for the US Manufacturing PMI survey, I will use the following formula:

=EPF.Nasdaq.HistoricLookback("ISM","MAN_PMI",5)

Excel Price Feed Nasdaq Data Link PMI data