maxdrawdown: Maximum Drawdown of a time series of prices

Description Usage Arguments Value Examples

View source: R/summary_stats.R

Description

The function evaluates the ex post maximum drawdown, which is defined as the most severe decrease from the previous maximum.

Usage

1
maxdrawdown(backtest)

Arguments

backtest

A data frame or matrix containing one time series of prices. If there are several prices provided, only the first one will be used.

Value

A numeric output giving the maximum drawdown, as decimal number

Examples

1
2

MatthiasSpeicher/gryffindorrobo documentation built on Dec. 27, 2019, 2:15 a.m.