maxDrawdown: Maximum Drawdown

Description Usage Arguments Value Author(s)

View source: R/maxDrawdown.R

Description

Calculate the maximum drawdown of a lsp object

Usage

1
  maxDrawdown(lsp, sort=FALSE, geometric=TRUE)

Arguments

lsp

A lsp object.

sort

If FALSE (the default), maximum drawdown is calculated using the returns in the order provided; if TRUE, returns are sorted to reflect the worst possible maximum drawdown.

geometric

Use log returns?

Value

The maximum drawdown percentage.

Author(s)

Joshua Ulrich


LSPM documentation built on May 31, 2017, 4:15 a.m.