This program gathers the historical stock information from the Google Finance website. The data is gathered in a struct containing the date, open, high, low, close and volumes for the stock. The frequency, start and end dates can be specified by the user.
The format of the output struct can also be specified by the user: standard, matlab financial time series or the format compatible with hist_stock_data.m by Josiah Renfree.
Alejandro Arrizabalaga (2020). Google Finance Historical Stock Data Downloader (https://www.mathworks.com/matlabcentral/fileexchange/25433-google-finance-historical-stock-data-downloader), MATLAB Central File Exchange. Retrieved .
google starts to ban us. we can not retrive any financial data from them. I see this message
"sorry...but your computer or network may be sending automated queries. To protect our users, we can't process your request right now"
This function doesn't work. It used to work, now it seems to be broken.
I had issues using it. I gave following command :
stocks = get_gf_histdata('NASDAQ:GOOG','01-Mar-2015','11-Sep-2015','daily','hist_stock_data');
and I got following error :
Error using get_gf_histdata (line 91)
no valid argument supplied. Type 'help get_gf_histdata' for info.
Can you change this line:
startdate=[endstr(1:2) '+' startstr(4:6) ',+' startstr(8:11)];
for this one
enddate=[endstr(1:2) '+' endstr(4:6) ',+' endstr(8:11)];
Hi, I am really green with Matlab and was wondering how this plugin works. Is there a tutorial anywhere?
Works very well when called once or twice. But on third call of this function it scans incomplete data from google. For example -- called this function to gather data for 5 stocks with 5 years. On the third stock it gathers only 3 years worth of data and then halts.
Also, is there a site where I can get list ticker symbols that google uses for its website. I was unable to find ticker symbol for S&P500 index.
Thanks for this great file.
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!