Description Usage Arguments Examples
Backtest function that returns a daily NAV dataset
1 2 |
data |
a data.frame containing the columns: symbol, date, w |
name |
a string name for the backtest results. |
rebal_group_by |
Optional Character indicating by group to apply to ith_date. Acceptable values are: date, week, month, qtr. Default is date which performs a daily rebalance. |
rebal_ith |
Optional Integer to determine which observation of each by group to return. For Example ith_date = 2, week will return the second day of each week. Also, ith_date = 99, month will return last day of each month. Default is 1. |
prices |
a data.frame containing the columns: symbol, date, price. Default is tidalprices::dailyclose. |
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.