Description Usage Arguments Value
View source: R/rolling_univariate_forecasts.R
Function calculates forecastas based on auto.arima and nnetar functions from forecast package.
1 2 3 4 5 6 7 | rolling_univariate_forecasts(
prices_panel,
row_index = 1:nrow(prices_panel),
windows = c(200),
workers = 4L,
forecast_type = c("autoarima", "nnetar")
)
|
prices_panel |
a data.table object with coluimns: symbol, datetime, open, hogh, low, close, volume |
row_index |
row index for which to calculate radf values. |
windows |
Length of window for calculating forecasts on rolling window. |
workers |
Number of workers for parallel processing |
forecast_type |
type of time series forecasts. |
Data.table with new features
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.