| perf_metrics | R Documentation |
Portfolio performance metrics
perf_metrics(ret_dt, freq = 52)
ret_dt |
data.table/data.frame with columns |
freq |
Integer periods-per-year for annualization (e.g., 52 or 252). |
list with total_return, ann_return, ann_vol, sharpe, max_drawdown.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.