sterling_ratio: Sterling ratio

View source: R/quants.R

sterling_ratioR Documentation

Sterling ratio

Description

A risk-adjusted measure like Calmar ratio but the denominator is the largest consecutive drawdown (excluded the 10% excess in the original formula)

Usage

sterling_ratio(x, ann_frisk = 0, t = 252, is_geom = TRUE)

Arguments

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

Value

numeric

Examples

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)


maxto/qapi documentation built on Feb. 1, 2024, 9:42 a.m.