get.ohlc.yahoo {FinCal} | R Documentation |
Download stock prices from Yahoo Finance (open, high, low, close, volume, adjusted)
Description
Download stock prices from Yahoo Finance (open, high, low, close, volume, adjusted)
Usage
get.ohlc.yahoo(symbol, start = "firstDay", end = "today", freq = "d")
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 |
freq |
time interval, e.g., d:daily, w:weekly, m:monthly |
See Also
Examples
# get.ohlc.yahoo(symbol="AAPL")
# get.ohlc.yahoo(symbol="AAPL",start="2013-08-01",freq="d")
# get.ohlc.yahoo(symbol="AAPL",start="2013-07-01",end="2013-08-01",freq="w")
[Package FinCal version 0.6.3 Index]