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

Output historical stock prices for a basket of stocks and given period as a matrix with header
572 Downloads
Aktualisiert 31. Mai 2012

Lizenz anzeigen

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.

Zitieren als

Haidar Haidar (2024). Output set of stock prices from yahoo finance as a matrix with header and dates into excel (https://www.mathworks.com/matlabcentral/fileexchange/36886-output-set-of-stock-prices-from-yahoo-finance-as-a-matrix-with-header-and-dates-into-excel), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2011a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Quellenangaben

Inspiriert: Yahoo! Finance Data Loader

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.4.0.0

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

1.0.0.0