Products & Services Solutions Academia Support User Community Company

Learn more about Financial Toolbox   

maxdrawdown - Compute maximum drawdown for one or more price series

Syntax

MaxDD = maxdrawdown(Data) 
MaxDD = maxdrawdown(Data, Format)   		
[MaxDD, MaxDDIndex] = maxdrawdown(Data, Format) 

Arguments

Data

T-by-N matrix with T samples of N total return price series (also known as total equity).

Format

(Optional) MATLAB string indicating format of data. Possible values are:

'return' (default): Maximum drawdown in terms of maximum percentage drop from a peak.

'arithmetic': Maximum drawdown of an arithmetic Brownian motion with drift (differences of data from peak to trough) using the equation

'geometric': Maximum drawdown of a geometric Brownian motion with drift (differences of log of data from peak to trough) using the equation

Description

MaxDD = maxdrawdown(Data, Format) computes maximum drawdown for each series in an N-vector MaxDD and identifies start and end indexes of maximum drawdown periods for each series in a 2 x N matrix MaxDDIndex.

To summarize the outputs of maxdrawdown:

Example

See Maximum Drawdown Example.

References

Christian S. Pederson and Ted Rudholm-Alfvin, "Selecting a Risk-Adjusted Shareholder Performance Measure," Journal of Asset Management, Vol. 4, No. 3, 2003, pp. 152-172.

See Also

emaxdrawdown

  


Free Interactive Computational Finance CD

View demos and recorded presentations led by industry experts.

Now On Demand
Network with industry peers and learn the latest applications of the leading software product for computational finance.

 © 1984-2010- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS