Historical Stock Data Download (alternate Method)
Version 6.0.0.1 (4.1 KB) by
Captain Awesome
Retrieves historical stock data from Yahoo Finance by parsing html pages instead of .csv download.
Editor's Note: This file was selected as MATLAB Central Pick of the Week
This is an updated function to retrieve historical data from Yahoo Finance.
Apparently they changed things around May 2017 and previous versions of these types of functions stopped working. This is a completely new version that should now work (as of November 2017).
Cite As
Captain Awesome (2026). Historical Stock Data Download (alternate Method) (https://uk.mathworks.com/matlabcentral/fileexchange/37502-historical-stock-data-download-alternate-method), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2016a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Data Import and Analysis > Data Import and Export > Web Access and Streaming > Web Services >
- Computational Finance > Datafeed Toolbox > Financial Data > Money.Net >
Find more on Web Services in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired by: hist_stock_data(start_date, end_date, varargin)
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
