Importing data from a data provider is an important step for any financial modeling process. You can use Datafeed Toolbox™ to retrieve data from various sources. This video demonstrates how to import historical data from Datastream Web Services (DSWS) using MATLAB®.
In this example, you will learn:
1. How to connect to DSWS API
2. How to search for symbols and data codes from Datastream Navigator
3. How to use history function to retrieve historical data with various options, including multiple securities symbols, multiple data types, and different time frequency
The retrieved data is stored in timetable format, which allows you to easily perform other analyses; for example, calculate technical indicators and plot financial charts.
Functionality has changed since the creation of this video. The R2021a release notes describe the changes in detail.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .Select web site
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.