Description Usage Arguments Value See Also Examples
Get yahoo price data in wide form for a vector of stocks.
1 | tq_get_wide(x, what = "close", ...)
|
x |
A single character string, a character vector or data frame representing a single or multiple stock index, stock symbol, metal symbol, currency combination |
... |
Additional parameters passed to the appropriate quantmod function. Common optional parameters include:
|
type |
a single |
A data frame with the first column as the date and each other column representing a stock and each cell its price.
tq_get, tq_spread
1 2 | tq_get_wide(c("SPY", "SHV"))
tq_get_wide(c("SPY", "SHV"), what = "volume", from = "2015-12-31")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.