Description Usage Arguments Value
View source: R/momentum_prediction.R
Rescales windows (price_window
and historic_price_mean_window
)
by \pm 1 so that each the most recent price is greater than
or equal to the most recen thistoric price mean.
1 | rescale_to_price_over_mean(agg_windows)
|
agg_windows |
a |
agg_windows
but modified to have an extra column
flip_sign
which is -1 if the sign was flipped and 1 otherwise
as well as having rescaled
the price_window
and historic_price mean_window
columns by flip_sign
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.