'maxDrawdown function from Performance Analytics giving incorrect values
I call the maxDrawdown function of the package PerformanceAnalytics on a column of daily returns. when I calculate the cumulative returns of the column and I make a plot, it looks like this. When I calculate the max of the cumulative returns, I find the value 0.09196466. Its apparent from the graph that the worst Drawdown should be bigger that that value. When I call the aforementioned function it returns the value 0.084658. Why is that discrepancy happening? Noted that when I call the function I do not use cumulative returns, but normal daily returns from an xts object.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
