Knowledge Base
-
Browse:
- All
-
Topics
- 2Analyst Reports
- 6Books/eBooks/audiobooks
- 40Company Info & Financials
- 20Company Lists
- 7Consumers & Demographics
- 8Countries & International Markets
- 41Database Access Help
- 9Deals (M&A, IPO)
- 4Economic Indicators
- 11ESG (Environmental, Social, and Governance)
- 20Financial Markets & Securities
- 12Frequently Asked Questions
- 13Industries & Markets
- 11Journal Articles
- 49Large Datasets
- 6Library Use/Policies
- 13News/Magazine Articles
- 8Reports
- 1Research Impact
- 103Research Tips
- 18Statistics
- 8VC/PE/Startups
Datastream Formula Builder to Download Data
We recommend using the Datastream Formula Builder to download data from Datastream.
Step 1: Connect to Datastream
- Connect to the Datastream For Office (DFO) Excel Plugin (see Datastream access help).
- In Excel, select Refinitiv > Datastream > Datastream Formula.
- In the spreadsheet, place your cursor where you want the data to populate.
Step 2: Select the Securities/Entities
If You Have a List of Security/Entity Identifiers
Available Identifiers
- ISINs are recommended when merging with other sources.
- The main identifier used in Datastream is the Mnemonic.
- Modified 9-digit CUSIPs are in the 'local code' field. U.S. CUSIPs have a "U" at the start and Canadian ones have a "Q" (e.g. U345370860).
- RICs (Reuters' Instrument Codes) are used in many LSEG datasets, are based on stock tickers, but are not always reliable after a company goes private or is acquired.
- SEDOL (UK & Ireland) and T1 Codes (to merge with legacy Thomson ONE data).
Ask Us for assistance creating historically accurate lists of identifiers.
To Use a List of Identifiers
- In the spreadsheet, paste the identifiers in a single column; one identifier per row.
- Place your cursor where you want the data to populate.
- In the ribbon menu, select Datastream Formula.
- Click the Select Series from Sheet icon to the right of the Series/Lists text box.
- Use your cursor to select all your identifiers and press Select in the pop up. You should see the correct cell range in the Series/Lists text box.
- Below the Series/Lists text box, in the drop-down menu next to Symbology:
- Select Datastream if you're using ISIN, SEDOL, CUSIP, or Mnenomic identifiers.
- Select RIC if you're using the RIC or T1 Code identifiers.
If You Need to Make a List
Please Ask Us for assistance creating a historically accurate list, especially if you're merging with other data sources.
You can create a list in Datastream by doing the following:
- Click the Find Series icon to the right of the Series/Lists text box. The Datastream Navigator will open in a new window.
- Use the search bar and the left panel to refine the search (e.g. to limit to active U.S. Equities).
- Hover over or click on an item in the results list. More information will be in a section under the results.
- Check the box next to the securities/entites.
- In the upper right click MY SELECTIONS. Click Return all selections.
Step 3: Select the Datatypes/Variables
To avoid issues downloading, you need to know if the datatypes you want are time-series or static.
- Time-series data runs over a period of time, like a firms' stock price.
- Static data is typically data from a fixed point in time, such as the date of an IPO. It can also be information about a specific entity (like a company's headquarters) that is 'header' data and overwritten with the most current value.
To tell if a datatype is time-series or static, select the Find Datatype icon to the right of the Datatypes/Expressions text box to open the Datatype Navigator. In the results, look at the Type column. You can also filter the results by Type in the menu on the left.
For Static OR Time-Series Data
- Select the Find Datatype icon to the right of the Datatypes/Expressions text box.
- Use the left panel to refine your search and/or search by keyword at the top.
- Click an item in the results list to see a section under the results with more information.
- Check the box next to the datatypes you want.
- In the upper right click MY SELECTIONS. Click Return all selections.
For Time-Series AND Static Data at the Same Time
- Add the time-series data:
- Select the Find Datatype icon to the right of the Datatypes/Expressions text box.
- Use the left panel to refine your search.
- Click an item in the results list to see a section under the results with more information.
- Check the box next to the datatypes you want.
- In the upper right click MY SELECTIONS. Click Return all selections.
- Add the static data:
- Select Display Custom Header.
- In the new pop-out window, click Datatypes to launch the Datastream Navigator.
- Search for the datatype, such as ‘ISIN’ or ‘international securities identification number.’
- Click on the blue datatype Symbol.
- Select the plus sign (+) to add the datatype to the Selector box.
- Select OK.
Step 4: Adjust the Dates & Frequency
If you included time-series data, beneath the Datatypes/Expressions section, edit the From, To, and Frequency boxes to the right of the Start-End box.
If you only need static data, beneath the Datatypes/Expressions section, change the Start-End drop-down to As Of. Then edit the Latest Value drop-down if you need to pick a specific date.
Step 5: Format the Results
- Pick how the data will be formatted in the Options box. Select all that apply (e.g. you may want to check the box next to Display Headings or Display Currency.
- Note, if you need to change the default currency, click the icon near the upper right.
- Click Insert in the lower right corner.
Helpful Tips
To edit the formula once you've inserted the data:
- Place your cursor in the cell you initially entered the formula (it should have a little red triangle in the upper right corner).
- In the ribbon menu, select the Datastream Formula icon again.
- You'll see all the options you initially selected and can change them as needed.
Answered By: Alice Kalinowski
Related Library Tips
Resource Use
Most resources are only available to current Stanford students, faculty, and staff.
Researchers are responsible for using these resources appropriately. See the eResources Usage policy.
Accessibility Support
Ask Us for accessibility support with library resources.