Description Usage Arguments Value
View source: R/momentum_data.R
Give the price predicted by the momentum.
1 2 3 4 5 6 | evaluate_momentum_predict_price(
agg_windows,
momentum_window_size,
momentum_colname = "momentum",
use_signed_momentum = TRUE
)
|
momentum_window_size |
the size determining momentum,
which must be at least 2 and is assumed
to be at most the size of the price windows in |
momentum_colname |
The name of the column holding the
true momentum values (as a string),
defaults to |
aggregated_momentum_data |
A tibble
of class |
consider_negative_momentum |
|
A column vector whose ith entry is the predicted price for the ith row, using the predicted momentum as a guide.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.