Timeseries portfolio returns

calc_port_returns(results_df)

Arguments

results_df

Results dataframe from rsims backtest

Value

Time series of portfolio returns

Examples

if (FALSE) {
cash_backtest(prices, weights) %>%
  calc_port_returns()
}