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