Learn R Programming

FinCal (version 0.6.3)

get.ohlc.google: Download stock prices from Google Finance (open, high, low, close, volume)

Description

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

Usage

get.ohlc.google(symbol, start = "2013-01-01", end = "today")

Arguments

symbol
symbol 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.yahoo

get.ohlcs.google

Examples

Run this code
# get.ohlc.google(symbol="AAPL")
# get.ohlc.google(symbol="AAPL",start="2013-08-01")
# get.ohlc.google(symbol="AAPL",start="2013-07-01",end="2013-08-01")

Run the code above in your browser using DataLab