Sharpe ratio

calc_sharpe(results_df)

Arguments

results_df

Results dataframe from rsims backtest

Value

Annualised Sharpe ratio

Examples

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