Calculate the maximum drawdown of a lsp object
maxDrawdown(lsp, sort=FALSE, geometric=TRUE)
A lsp object.
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.
Use log returns?
The maximum drawdown percentage.
Questions? Problems? Suggestions? Tweet to @rdrrHQian@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.