sterling_ratio | R Documentation |
A risk-adjusted measure like Calmar ratio but the denominator is the largest consecutive drawdown (excluded the 10% excess in the original formula)
sterling_ratio(x, ann_frisk = 0, t = 252, is_geom = TRUE)
x |
asset returns |
ann_frisk |
annual free risk |
t |
frequency of data. 1: yearly, 4: quarterly, 12: monthly, 52: weekly, 252: daily |
is_geom |
TRUE geometric, FALSE simple |
numeric
xx <- c(0.003,0.026,0.015,-0.009,-0.014,-0.024,0.015,0.066,-0.014,0.039)
sterling_ratio(xx,ann_frisk=0.01,t=12)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.