Learn R Programming

FinCal (version 0.6.3)

get.ohlcs.google: Batch download stock prices from Google Finance (open, high, low, close, volume)

Description

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

Usage

get.ohlcs.google(symbols, start = "2013-01-01", end = "today")

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

See Also

get.ohlc.google

get.ohlcs.yahoo

Examples

Run this code
# get.ohlcs.google(symbols=c("AAPL","GOOG","SPY"))
# get.ohlcs.google(symbols=c("AAPL","GOOG","SPY"),start="2013-01-01")
# get.ohlcs.google(symbols=c("AAPL","GOOG","SPY"),start="2013-01-01",end="2013-07-31")

Run the code above in your browser using DataLab