get.ohlcs.yahoo: Batch download stock prices from Yahoo Finance (open, high,...

Description Usage Arguments See Also Examples

Description

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

Usage

1
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

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

Example output



FinCal documentation built on May 2, 2019, 1:29 p.m.