GetHistoricalPricesYahoo: GetHistoricalPricesYahoo()

Description Usage Arguments Value

Description

A helper function to automate the download of a matrix of historical EOD prices from Yahoo!Finance. Makes use of the get.hist.quote() function from the tseries package.

Usage

1
GetHistoricalPricesYahoo(tickers, start_date, end_date)

Arguments

tickers

Vector of tickers to be downloaded.

start_date

Date for start of time series.

end_date

Date for end of time series.

Value

Data frame containing the dates in column 1 and the prices for each ticker in the remaining columns.


jspinney-nbimc/mqim6604 documentation built on May 25, 2019, 6:25 p.m.