ldhmm.fred_data | R Documentation |
This utility downloads time series from FRED. It serves as a data source for daily data, e.g. SP500 for S&P 500, and VIXCLS for CBOE VIX index. This can be concatenated to the static data to provide daily updates.
ldhmm.fred_data(symbol, col_out = "Close", do.logr = TRUE)
symbol |
character, the name of the time series |
col_out |
character, the name of the output closing price column. Default: "Close" |
do.logr |
logical, if |
The xts object for the time series
## Not run:
ldhmm.fred_data("VIXCLS")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.