ulcer_index: Ulcer index

View source: R/quants.R

ulcer_indexR Documentation

Ulcer index

Description

RUlcer Index of Peter G. Martin (1987). The impact of long, deep drawdowns will have significant impact because the underperformance since the last peak is squared

Usage

ulcer_index(x, is_geom = TRUE)

Arguments

x

asset returns

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)
ulcer_index(xx)


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