Long term trend following strategy based on weekly rebalancing
1 | weekly_rotation(data, ticker, n_return = 200)
|
data |
List of price data |
ticker |
ticker selected |
n_return |
Number of days to compute return. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.