You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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 the form of a timetable, which allows you to easily perform other analyses, for example, calculate technical indicators and plot financial charts.
Cite As
MathWorks Quant Team (2026). How to import data from Datastream Web Services using MATLAB (https://se.mathworks.com/matlabcentral/fileexchange/68800-how-to-import-data-from-datastream-web-services-using-matlab), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.1 (57.1 KB)
MATLAB Release Compatibility
- Compatible with R2018b and later releases
Platform Compatibility
- Windows
- macOS
- Linux