Description Usage Arguments Value
Generalized version for daily and monthly data, for fragmental time periods
1 2 |
weights |
a list of xts dataframes, representing weights time series, generated from GenWeights, with names properly set as signal.names |
returns |
a xts dataframe with columns being assets traded in the portfolio, should have the same number of columns as member in weights |
returns.period |
string, indicating periodicty of returns, can be used to calculate daily performance metrics if passed a daily return dataframe and monthly weights |
sub.period |
vector of xts time index, can be indexed by xts objects, default NULL can only take monthly sub.period index for now, when the returns are daily, only get the first day of each month, raise error |
a list of xts series, total returns of signals, with names properly set as signal.names
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.