Rank: 4960 based on 21 downloads (last 30 days) and 1 file submitted
photo

Andreas Bonelli

E-mail

Personal Profile:

-

Professional Interests:

 

Watch this Author's files

 

Files Posted by Andreas
Updated   File Tags Downloads
(last 30 days)
Comments Rating
02 Aug 2007 Maximum Drawdown Maximum relative drawdown of time-series data Author: Andreas Bonelli finance, modeling, analysis, maximum drawdown, risk management 21 5
  • 2.66667
2.7 | 3 ratings
Comments and Ratings by Andreas View all
Updated File Comments Rating
07 May 2014 DataHash MD5 or SHA hash for array, struct, cell or file Author: Jan Simon

06 Mar 2012 41 Complete GUI Examples 41 working GUIs to read and learn. Author: Matt Fig

15 Apr 2009 Variable Precision Integer Arithmetic Arithmetic with integers of fully arbitrary size. Arrays and vectors of vpi numbers are supported. Author: John D'Errico

15 Apr 2009 Variable Precision Integer Arithmetic Arithmetic with integers of fully arbitrary size. Arrays and vectors of vpi numbers are supported. Author: John D'Errico

Great submission, but there seems to be a bug with vpi2english for numbers from 1 to 99:

>> vpi2english(vpi('1'))
??? Index exceeds matrix dimensions.

Error in ==> vpi.vpi2base at 114
B(i) = base2dec(fliplr(cdigits(ind)),10);

Error in ==> vpi.vpi2english at 53
base1000 = vpi2base(N,1000);

10 Nov 2008 Maximum Drawdown Maximum relative drawdown of time-series data Author: Andreas Bonelli

Alexc, I don't have the Financial Toolbox, so I can't help you wih MATLAB's maxdrawdown routine. My Version simply computes the maximum relative drawdown of a given time series.

Comments and Ratings on Andreas' Files View all
Updated File Comment by Comments Rating
29 Jul 2010 Maximum Drawdown Maximum relative drawdown of time-series data Author: Andreas Bonelli Licona, Andres

If you are really interested in the downside risk Steiner's version is the best. Then you have more insight about the tail. This is very important when looking at regimes.

30 Jun 2009 Maximum Drawdown Maximum relative drawdown of time-series data Author: Andreas Bonelli Acquatella, Paul

I think this version is more practical and quite better than Steiner's. Also, is faster since it does not computes the whole drawdown vector (which I don't need in particular) and its more understandable. Advantage vs. MATLAB's routine: data can be <= 0, and still computes (i.e. MaxDD = 120%, for instance).

10 Nov 2008 Maximum Drawdown Maximum relative drawdown of time-series data Author: Andreas Bonelli Bonelli, Andreas

Alexc, I don't have the Financial Toolbox, so I can't help you wih MATLAB's maxdrawdown routine. My Version simply computes the maximum relative drawdown of a given time series.

08 Nov 2008 Maximum Drawdown Maximum relative drawdown of time-series data Author: Andreas Bonelli Adad, Alexc

I have been trying to figure out the what the difference between your version and the one provided by Mathworks? Could you please help me?

16 Aug 2007 Maximum Drawdown Maximum relative drawdown of time-series data Author: Andreas Bonelli Steiner, Andreas

The input for your function is a vector of cummulative returns, not a period return vector. You should point that out in your description of the arguments.
Personally, I prefer my version because it allos not only computation of maximum drawdown, but computation of the full drawdown vector to for example plot time-under-water charts and calculation of the average of the n-th largest drawdowns (needed in the calc of certain risk-adjusted performance measures).

Contact us