R/helpers.R
perf_met.Rd
Helper function to create performance metrics for a given set of returns, weights, and actual data
perf_met(returns_data, weights_data, actual_data)
return data
weights data
actual realized returns
A tibble with columns portfolio, mean, sd, SR, VaR_5, turnover, and hit_ratio