maxDrawdown: Maximum Drawdown

Description Usage Arguments Value Author(s)

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



Search within the LSPM package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.