findDrawdowns {PerformanceAnalytics} | R Documentation |
findDrawdowns
will find the starting period, the ending period, and the amount and length of the drawdown.
Often used with sortDrawdowns
to get the largest drawdowns.
Drawdowns
will calculate the drawdown levels as percentages, for use in chart.Drawdown
.
findDrawdowns(R) Drawdowns(R)
R |
an xts, vector, matrix, data frame, timeSeries or zoo object of asset returns |
unordered list
return |
depth of drawdown |
from |
starting period |
to |
ending period |
length |
length in periods |
Peter Carl
findDrawdowns
modified with permission from function by Sankalp Upadhyay
Bacon, C. Practical Portfolio Performance Measurement and Attribution. Wiley. 2004. p. 88
sortDrawdowns
maxDrawdown
sortDrawdowns
table.Drawdowns
table.DownsideRisk
chart.Drawdown
data(edhec) findDrawdowns(edhec[,"Funds of Funds", drop=FALSE]) sortDrawdowns(findDrawdowns(edhec[,"Funds of Funds", drop=FALSE]))