5.0

5.0 | 1 rating Rate this file 104 Downloads (last 30 days) File Size: 1.88 KB File ID: #39858
image thumbnail

Download Yahoo Finance Data For Trading and Backtesting

by tadeveloper

 

15 Jan 2013 (Updated 16 Jan 2013)

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  
Everyone's Tags
backtesting, data, finance, trading(2), yahoo
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
18 Apr 2013 hjy009  
Updates
16 Jan 2013

Fixed Windows line breaks for downloaded data.

Contact us