Historical Stock Data downloader
by Josiah Renfree
24 Jan 2008
(Updated 29 Jan 2008)
Used to retrieve historical stock data for a user-specified date range
|
Watch this File
|
| File Information |
| Description |
This program uses the Yahoo! Finance website to download and sort historical stock data for a user-specified time period. The user can either supply the program with individual ticker symbols or with a text file containing a list of ticker symbols. The program returns a structure array that holds information on the date, opening price, closing price, high, low, volume, and adjusted closing price. The user must specify the date range for the desired information, and has the option of specifying a sample frequency of daily, weekly, or monthly. Refer to the help section in the m-file for data formats and options. |
| MATLAB release |
MATLAB 7 (R14)
|
| Other requirements |
The computer must be connected to the Internet in order to download stock data. If an error occurs regarding downloading information, refer to the Matlab command 'urlread' in order to determine how to correct the issue |
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (33) |
| 26 Jan 2008 |
Olivier B.
|
|
|
| 27 Jan 2008 |
Josiah Renfree
|
|
|
| 27 Jan 2008 |
John D'Errico
|
|
|
| 27 Jan 2008 |
Josiah Renfree
|
|
|
| 28 Jan 2008 |
John D'Errico
|
|
|
| 28 Jan 2008 |
Josiah Renfree
|
|
|
| 28 Jan 2008 |
Happy User
|
|
|
| 29 Jan 2008 |
John D'Errico
|
|
|
| 01 Feb 2008 |
Olivier B.
|
|
|
| 01 Feb 2008 |
Tsai wei-che
|
|
|
| 02 Feb 2008 |
Chris Troutner
|
|
|
| 06 Feb 2008 |
Austin Kalb
|
|
|
| 14 Feb 2008 |
Lyle Ask
|
|
|
| 21 Feb 2008 |
Brahim HAMADICHAREF
|
|
|
| 26 Feb 2008 |
bob n
|
|
|
| 31 Mar 2008 |
Kevin T
|
|
|
| 01 Apr 2008 |
jim cha
|
|
|
| 06 Apr 2008 |
Cassio Carvalho
|
|
|
| 29 Apr 2008 |
Gee Zee
|
|
|
| 24 Jul 2008 |
Laura Chico
|
|
|
| 04 Sep 2008 |
raphael rubin
|
|
|
| 17 Sep 2008 |
Francisco Azeredo
|
|
|
| 24 Sep 2008 |
Al McJeff
|
|
|
| 28 Sep 2008 |
David Succaria
|
|
|
| 09 Oct 2008 |
sean brown
|
|
|
| 17 Oct 2008 |
Janice Hawie
|
|
|
| 08 Dec 2009 |
Gary
|
|
|
| 15 Dec 2009 |
Josiah Renfree
|
|
|
| 30 Jan 2010 |
Sunil Tyagi
|
|
|
| 22 Apr 2010 |
mklcst mklcst
|
|
|
| 02 Jun 2010 |
Matt Fetterman
|
|
|
| 28 Nov 2010 |
David Wozabal
|
|
|
| 08 Dec 2010 |
Josiah Renfree
|
|
|
| Updates |
| 25 Jan 2008 |
Updated file to handle instances when stock data is not available. If the ticker symbol is not valid or simply does not return data, then that stock will be ignored.
Also, added examples in the help section. |
| 28 Jan 2008 |
The following items have been changed:
- There was an error when the first ticker symbol input to the function was less than 3 characters.
- The user may now choose the sample frequency of daily, weekly, or monthly. |
| 29 Jan 2008 |
Some users are experiencing problems with the urlread command, which I believe occurs because the program is accessing the ticker symbols as cell arrays not as strings. Changed command 'tickers(i)' to 'tickers{i}' in urlread command. |
|
Contact us at files@mathworks.com