custom_grouping | R Documentation |
Group returns of strategies
custom_grouping(returns_df, instr_df, group)
returns_df |
A dataframe containing timeseries of returns of strategies with columns 'date', 'strategy', 'return' |
instr_df |
A dataframe containing 'strategy' corresponding to any groupings |
group |
A character variable containing the name of the column in 'instr_df' to group by |
A dataframe containing timeseries of returns of the groups
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.