Hi,
I want to compute the maximum drawdown for a series of returns.
My data looks like this:
in this example the maximum drawdown would be 0.98*0.96=0.9408=> 5.92% !
I tried something like mvsumm (sum) with ln(return+1), but I dont know how to specify the function, so it stops if a return is positive and starts all over when a negative return series starts again.
I want to compute the maximum drawdown for a series of returns.
My data looks like this:
Code:
date return 1990m1 0.01 1990m2 -0.02 1990m3 -0.04 1990m4 0.01
I tried something like mvsumm (sum) with ln(return+1), but I dont know how to specify the function, so it stops if a return is positive and starts all over when a negative return series starts again.
Comment