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.
MathWorks Quant Team (2021). How to import data from Datastream Web Services using MATLAB (https://www.mathworks.com/matlabcentral/fileexchange/68800-how-to-import-data-from-datastream-web-services-using-matlab), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!