Skip to content
Prev 20698 / 63424 Next

Convention difference in tseries.maxdrawdown (PR#8872)

What type of drawdown to work with depends on the context. If working in 
percent is more appropriate, then you might use

maxdrawdown(log(x))$maxdrawdown

or if log returns are not appropriate then the following transformation 
provides the equivalent what was suggested

-(exp(-maxdrawdown(log(x))$maxdrawdown)-1)


Best regards
Adrian