Be the first to rate this file! 2 Downloads (last 30 days) File Size: 2.42 MB File ID: #36886 Version: 1.4
image thumbnail

Output set of stock prices from yahoo finance as a matrix with header and dates into excel



29 May 2012 (Updated )

Output historical stock prices for a basket of stocks and given period as a matrix with header

| Watch this File

File Information

This code downloads historical prices for a basket of given stocks ( should be listed in a file S&P.txt ) within a given period and output the prices in a Matrix form with a header of stock symbols and a column of the corresponding dates. It gives the user the option to download daily prices, weekly ( Mon,Tue,.. or Fridays ), or monthly prices.

Required Products Datafeed Toolbox
Financial Toolbox
MATLAB release MATLAB 7.12 (R2011a)
Other requirements Internet connection
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
31 May 2012 1.4

Updated lines 20,21,99 &100.
when downloading weekly dates, input ty as 1 for Friday's quotes, 2 for Saturdays, .., and 7 for Thursdays

Contact us