Description Usage Arguments Value Examples
View source: R/summary_stats.R
The function evaluates the ex post maximum drawdown, which is defined as the most severe decrease from the previous maximum.
1 | maxdrawdown(backtest)
|
backtest |
A |
A numeric
output giving the maximum drawdown, as decimal
number
1 2 | maxdrawdown(backtest = as.matrix(EuStockMarkets[, 1]))
maxdrawdown(backtest = as.data.frame(EuStockMarkets[, 2]))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.