5.0

5.0 | 2 ratings Rate this file 71 Downloads (last 30 days) File Size: 1.88 KB File ID: #39858
image thumbnail

Download Yahoo Finance Data For Trading and Backtesting

by

 

15 Jan 2013 (Updated )

The script downloads 10 years of stock data from Yahoo Finance.

| Watch this File

File Information
Description

Downloads 10 years worth of daily stock data from yahoo finance. The open, high, low prices are adjusted based on the adjClose field.
The output is saved in csv format in the directory specified by the DIRECTORY parameter.

Example:
Download the data of 5 technology stocks and save the result in the C:\StockData directory:

getyahoo10('AAPL,AMZN,GOOG,IBM,SAP', 'C:\StockData');
   

Required Products MATLAB
MATLAB release MATLAB 8.0 (R2012b)
Other requirements TA Developer Toolbox
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
19 Aug 2013 Arty

works great

18 Apr 2013 hjy009  
Updates
16 Jan 2013

Fixed Windows line breaks for downloaded data.

Contact us