PURPOSE: Download the historical prices for a given stock from Google Finance and converts it into a MATLAB dataset format.
USAGE: ds = googleprices(stockTicker, startDate, endDate)
where:
stockTicker = Google stock ticker ExchangeSymbol:SecuritySymbol), ex. NASDAQ:CSCO for Cisco Stocks.
startDate: start date of the prices series. It could be either in
serial MATLAB form or in Google Date form (mmm+dd,yyyy).
endDate: end date of the prices series. It could be either in
serial matlab form or in Google Date form (mmm+dd,yyyy).
Example:
ds = googleprices('NASDAQ:CSCO', 'Oct+1,2000', 'Jun+15,2010'); |