1 | omegaRatio(ret, mar = 0)
|
ret |
data.frame or tibble organized by columns with dates in first column |
mar |
minimum acceptable return |
Calculates based on emperical density. CDF of returns are subsetted by CDF of return above MAR (UpCDF) and below MAR (DownCDF). Then omega = (UpCDF \* Returns above MAR) / (DownCDF \* Returns below MAR).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.