Current location - Trademark Inquiry Complete Network - Futures platform - How to read stock data with matlab
How to read stock data with matlab
1. Use connect = data server name to establish the connection between Matlab and data providers, such as Bloomberg/Yahoo/Fred /factset, etc.

2. To determine whether the connection is valid, please use isconnection(connect). If 1 is returned, the connection is valid; If 0 is returned, it is invalid;

3. To get the required data, please use fetch(connect, security,' parameter 1',' parameter 2', ...).

The general idea is as above, and the specific input details can be found in the help document of matlab.

I hope the above answers are helpful to you.