optimalTEMA | R Documentation |
Numerically maximize log-growth of the backtest over the range of TEMA-window sizes for the given fraction to invest.
optimalTEMA(prices, kelly, rate, bankroll)
prices |
time-series of prices |
kelly |
the fixed fraction for reallocation |
rate |
the rate earned on the cash account |
bankroll |
the initial bankroll to invest |
list or data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.