Description Usage Arguments See Also Examples
Download stock prices from Yahoo Finance (open, high, low, close, volume, adjusted)
1 | get.ohlc.yahoo(symbol, start = "firstDay", end = "today", freq = "d")
|
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 |
1 2 3 | # 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")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.