get.ohlcs.yahoo {FinCal}R Documentation

Batch download stock prices from Yahoo Finance (open, high, low, close, volume, adjusted)

Description

Batch download stock prices from Yahoo Finance (open, high, low, close, volume, adjusted)

Usage

get.ohlcs.yahoo(symbols, start = "firstDay", end = "today", freq = "d")

Arguments

symbols

symbols of stock, e.g. AAPL, GOOG, SPX

start

start date, e.g., 2013-07-31

end

end date, e.g., 2013-08-06

freq

time interval, e.g., d:daily, w:weekly, m:monthly

See Also

get.ohlc.yahoo

get.ohlcs.google

Examples

# get.ohlcs.yahoo(symbols=c("AAPL","GOOG","SPY"),freq="d")
# get.ohlcs.yahoo(symbols=c("AAPL","GOOG","SPY"),start="2013-01-01",freq="m")

[Package FinCal version 0.6.3 Index]