Professional Documents
Culture Documents
2011 - Drawdown-At-Risk Monte Carlo
2011 - Drawdown-At-Risk Monte Carlo
Drawdown-At-Risk Monte
Carlo Optimization
Introduction
In this research note, we would like to present a portfolio construction approach with two
interesting features…
Both features would deserve a detailed analysis that goes well beyond the scope of this
publication. The goal of this note is to provide an overview and illustrate the potential of
the approach with two examples:
Asset allocation in a small universe consisting of three assets (Indian stocks and
bonds as well as gold in INR).
Drawdown optimization on single-stock level across the full S&P 500 universe.
Drawdown-At-Risk
As discussed in a previous research note1, drawdown is defined as the difference
between the portfolio value and its running maximum. Maximum drawdown is the largest
drawdown. The chart below shows the daily running maximum and level for an Indian
stock market index between 1 August 1994 and 11 February 20112.
The 'BSE SENSEX' is a value-weighted index composed of the 30 largest and most
actively traded stocks, representative of various sectors, on the Bombay Stock
Exchange. The index covers around fifty per cent of the market capitalization of the
1
Research Note December 2010, “Ambiguity in Calculating and Interpreting Maximum Drawdown”, available on
http://www.andreassteiner.net/consulting
2
We would like to thank India Life Capital Pvt. Ltd for providing data.
25'000
20'000
BSE SENSEX Closing Value
Running Maximum
15'000
10'000
5'000
The next chart is also known as the “underwater chart” and plots the (percentage)
difference between the running maximum and the index level…
0.0%
-10.0%
-20.0%
-30.0%
-40.0%
-50.0%
-60.0%
-70.0%
We can read off the maximum drawdown from this chart. Maximum drawdown was
60.91% and occurred during the recent Financial Crisis. Recovery is almost completed
by February 2011.
The underwater chart can also be used to derive the empirical distribution of all
drawdowns by simply sorting them by size. We have done this in the chart below, which
I-BEX TRI is a family of bond indices that act as a metric to measure the performance of
the government securities market. The aggregate index used here is a market-cap
weight total return index containing liquid securities (securities not traded in market lots
in at least three consecutive days are dropped). Launched in 1994, it has emerged as
the preferred Indian government benchmark and is also recommended by the
Association of Mutual Funds in India (AMFI).
0.0%
-10.0%
-20.0%
-30.0%
BSE SENSEX Closing Value
I-BEX TRI
-40.0%
Gold INR
-50.0%
-60.0%
-70.0%
The maximum drawdown is the rightmost value in the chart above, where the drawdown
curve hits the y axis.
We can see that the maximum drawdown of gold is three times smaller than the
maximum of drawdown of equities. The maximum drawdown of bonds is half of that for
gold and six times smaller than that for equities.
The table below shows drawdown-at-risk for the three assets at confidence levels
commonly used in risk management…
3
Data source: http://www.gold.org/
We can see that drawdown-at-risk is similar to value-at-risk in the sense that it described
one specific point on a distribution function: DaR is a quantile on the drawdown
distribution, VaR a quantile on the period return distribution.
Contrary to VaR, drawdown-at-risk is an interim loss measure. This means that not only
losses at the period end are considered, but also losses during the period.
Value-at-risk defines losses relative to the beginning value. DaR on the other hand
measures losses relative to the running maximum (also known as high water mark).
In the literature, drawdown has mainly been used as a restriction in portfolio selection
problem, not as a component of the goal function to be optimized. Besides
computational issues, one reason for this was the difficulty of relating preferences for (or
rather against) drawdowns to investor utility functions. The drawdown-at-risk concept
can potentially address this issue: The confidence level parameter can be related to
investor loss aversion.
In what follows, we assume that investors like returns and dislike drawdowns for a given
level of confidence of 95%.
In the above chart, volatilities and returns have been scaled from daily to annual values
for the sake of presentation4. Additionally, we have assumed that the asset weights
must be all larger than 0% and smaller than 100% and their sum equal to 100%. These
are the restrictions of the “traditional long only investor”. The leftmost point on the
efficient frontier is the minimum variance portfolio (which is located to the left of the
asset with the smallest volatility due to diversification benefits between the three assets
in this particular case here), the rightmost point the maximum return portfolio (which
always coincidences with the asset exhibiting the highest return in the case of lower
weights limits equal to 0% and upper weights limits equal to 100%). The efficient frontier
looks piecewise linear in this chart because we span it from eight efficient portfolios only.
For investment purposes, the composition of the frontier portfolios is even more
interesting than the efficient frontier itself…
4
Scaling daily results is only recommended if the time series are IID (independently and identically distributed over
time).
90.0%
80.0%
70.0%
60.0%
Weight
40.0%
30.0%
20.0%
10.0%
0.0%
4.37% 7.71% 11.06% 14.40% 17.74% 21.08% 24.42% 27.76%
Volatility
Both charts were created with the functions of our Advanced Portfolio Analytics Excel
add-in “ApaLibNET”.
In the case of two assets, for example, we can generate one asset weight with the help
of Excel’s RAND() function. This built-in Excel function returns an equally distributed
random number between 0 and 1. The weight of the second asset is then found via the
constraint that the sum of weights must equal one: If for example w(1) = RAND() =
0.5346, then it follows immediately that w(2) = 1 – w(1) = 1 – 0.5346 = 0.4654.
While the above example calculations seem trivial, the general case involving many
assets and arbitrary linear constraints is not. Mathematically speaking, simulating
random asset weights involves sampling from the surface of a simplex in many
dimensions. Major issues involve a) ensuring the equal distribution of weights and b)
considering solutions on the vertices/edges of the simplex as well as interior points.
Random portfolio generation has also been researched by Patrick Burns, originally in
the context of ex post performance analysis. His insights are accessible in the form of
commercial tools and consulting services on http://www.portfolioprobe.com/.
We have made investigations into the generation of random portfolios several years ago
and a free spreadsheet was available for download on
www.andreassteiner.net/performanceanalysis for many years. An effective
3. Find the “top-left” corner of the convex hull around all portfolio in mean/volatility
space
We see that the random portfolios span the full opportunity space including inefficient
portfolios below the frontier. The efficient frontier itself is identical with the solution
derived from a traditional optimization algorithm.
Many traditional portfolio optimization algorithms only work for a limited number
of goal functions. MC optimization works for any return and risk measures, like
drawdown-at-risk.
Note that the M/DaR Frontier is relatively flat, implying that trading expected portfolio
return can result in significant reductions in drawdown-at-risk.
We also see that the shape of the M/V and M/DaR frontiers is not that different, which is
an indication that there exists an inherent relationship exists between the risk measures
volatility and drawdown-at-risk. If we plot the volatility of the simulated portfolios against
their drawdown-at-risk, we get…
As before, we can plot the allocation of the efficient portfolios on the mean/DaR
frontier…
We see that the allocation to gold is generally higher when optimizing drawdown-at-risk
instead of volatility. This is especially the case in more defensive portfolios, i.e. portfolios
towards the left on the mean/DaR frontier.
The drawdown-at-risk restriction renders the hi-volatility part of the opportunity space
infeasible. The maximum return portfolio in the restricted case has a volatility of
approximately 14%, while its volatility otherwise is approximately 28%.
The defensive left end of the frontier is not affected by the constraint on drawdown-at-
risk: the red area overlaps the grey area.
To see whether Drawdown-At-Risk and Monte Carlo Optimization can be used with
large amounts of data, we chose the constituents of the S&P 500 index as our universe.
We processed all stocks which had daily returns between 5 March 2001 and 4 March
2011, which resulted in a universe of 448 stocks.
Ten years of daily return data for 448 stocks resulted in a input data spreadsheet with
2610*448 = 1'169'280 cells, clearly a stress test for Microsoft’s Excel.
Nevertheless, we managed to generate the efficient Mean/DaR Frontier for 448 S&P
500 stocks derived form 50’000 simulated random portfolio. The result look like this…
Over the same period, the average annualized return of the S&P 500 Total Return index
was approximately 4.5% at a DaR of approximately 41%. The Minimum DaR portfolio
has a drawdown of approximately 15% at a return of about 12%. This indicates that the
benefits from Mean/DaR optimization can be significant and that investing in the market-
cap weighted S&P 500 is highly inefficient when considering drawdown risk.
A Word Of Caution
What we do in this paper is in-sample portfolio optimization. A more realistic assessment
of the performance of drawdown-at-risk optimized portfolios would require out-of-sample
tests. The purpose of this research note is not to give investment advice, but to illustrate
the drawdown-at-risk and Monte Carlo simulation concepts. We would like to emphasis
that the findings in this paper do not constitute investment advice at all.
apaRandomWeights.Restricted(NumberOfAllcations, Budget,
LowerBounds, UpperBounds) - Calculates random allocations given a certain
total exposure (typically 100%) and a vector of lower and upper limits for the
constituent weigths.
March 2011,
Andreas Steiner