Download Daily Data from Google and Yahoo! Finance

版本 (84.4 KB) 作者: Michael Weidman
Provides functions for getting data from both data sources as well as helper utility functions

16.7K 次下载

更新时间 2014/1/10


编者注: This file was selected as MATLAB Central Pick of the Week

This archive contains functions for downloading daily stock price information from both Google and Yahoo! Finance as well as helpful utility functions. It furthermore contains a (basic but decent) example of a unit test harness created using MATLAB's functional unit test framework.

The utility functions allow you to convert the Google-formatted ticker symbols to the Yahoo! format and vice versa. Since Google does not provide adjusted closing prices, a helper function that uses dividend information to calculate them is automatically called.

Both Google and Yahoo! seem to allow the use of financial data for PERSONAL, INFORMATIONAL use ONLY and do not warrant against inaccuracies. These discrepancies are fairly common and are the main reason that this suite uses both Yahoo! AND Google data -- only if both sources agree on a piece of data should you begin to trust it.

For questions and discussion, go to


Michael Weidman (2023). Download Daily Data from Google and Yahoo! Finance (, MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2013b
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明

Small change to getGoogleDailyData to remove dependence on Financial Toolbox.