This example aims to demonstrate how to retrieve news sentiment analysis data from RPA using MATLAB. Given the credentials provided by Ravenpack, you can access many news sentiment datasets. After mapping the securities symbol to Ravenpack id (rp_id), you can submit the request to get the dataset universally unique id that contains specific rp_id and fulfill other characteristics. Finally, you can generate token and import the full dataset into the MATLAB workspace.
- MATLAB R2018a or later
- Datafeed Toolbox
- RPA 1.0 credentials provided by Ravenpack.
MathWorks Quant Team (2020). How to retrieve data from RavenPack Analytics (RPA) (https://www.mathworks.com/matlabcentral/fileexchange/71157-how-to-retrieve-data-from-ravenpack-analytics-rpa), MATLAB Central File Exchange. Retrieved .
Inspired by: RavenPack® Analytics 1.0 for Datafeed Toolbox