powered by
sortDrawdowns(findDrawdowns(R)) Gives the drawdowns in order of worst to best
sortDrawdowns(runs)
pass in runs array from findDrawdowns to be sorted
Peter Carl modified with permission from prototype function by Sankalp Upadhyay
Returns a sorted list:
return depth of drawdown
from starting period
to ending period
length length in periods
Bacon, C. Practical Portfolio Performance Measurement and Attribution. Wiley. 2004. p. 88
DownsideDeviation maxDrawdown findDrawdowns sortDrawdowns chart.Drawdown table.Drawdowns table.DownsideRisk
DownsideDeviation
maxDrawdown
findDrawdowns
sortDrawdowns
chart.Drawdown
table.Drawdowns
table.DownsideRisk
data(edhec) findDrawdowns(edhec[,"Funds of Funds", drop=FALSE]) sortDrawdowns(findDrawdowns(edhec[,"Funds of Funds", drop=FALSE]))
Run the code above in your browser using DataLab