Description Usage Arguments Examples
Download Market Data from Yahoo Finance.
1 | get_symbols(symbols, start_at, end_at, drop_na = FALSE)
|
symbols |
Market symbols, e.g. "AAPL" or "GOOG". You can specify multiple series as c("AAPL", "GOOG"). |
start_at |
Date character, e.g. "2018-12-13" in the format of "YYYY-MM-DD", or a date value |
end_at |
Date character, e.g. "2019-12-13" in the format of "YYYY-MM-DD", or a date value |
drop_na |
Boolean, indicating whether missings shall be removed |
1 2 3 4 | get_symbols("GOOG", "2018-12-26", "2019-12-20")
get_symbols("^GDAXI", "2018-12-26", "2019-12-20")
get_symbols(c("GOOG", "^GDAXI"), "2018-12-26", "2019-12-20")
get_symbols("BTC-USD", "2018-12-26", "2019-02-20", drop_na = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.