cummax
Syntax
cummax(X)
Please see cumFunctions for the parameters and windowing logic.
Details
Cumulatively calculate the maximum values in X. It can be used to calculate maximum drawdown, for example.
cummax(X)
Please see cumFunctions for the parameters and windowing logic.
Cumulatively calculate the maximum values in X. It can be used to calculate maximum drawdown, for example.