powered by
Calculate largest draw down of a series of returns. This function calculates the maximum decrease in percentage over time, which can be used to test portfolio returns.
cv.drawdown(x)
: a numeric vector of returns
# NOT RUN { # rnorm() is used to simulate portfolio returns returns <- rnorm(100) cv.drawdown(returns) # }
Run the code above in your browser using DataLab