Senin, 15 Januari 2007

CONSEQUTIVE LOSSES

In two lucid and interesting articles in Traders of January two subjects were discussed, subjects I studied extensively. Luca Barberis tried to give an answer to the question how trading of various markets can enhance the equity curve without optimising individual trading systems. Optimising hides the danger of curve fitting. Though his results are very important a few aspects remains to be answered before applying his method: how many contracts do you trade the various markets, which is not a matter of classical position sizing matters and the question of a possible trade system correlation and what effect this has on risk.

Risk is the main subject of Philip Kahler in Traders. He treats various possible types of risk in trading, especially risk due to consecutive losses and emphasizes its importance to understand how consecutive losses can influence trading results. When studying consecutive losses in series of trades a huge field opens up: many different theoretical frameworks can be set up to master this phenomenon of trading.

There is a clear relation between the win ratio of a trade system and the length of consecutive losses. In an earlier post I stressed the importance of the win ratio in a different context. But it also plays an important role in the existence, the length, and the amount of consecutive losses.

In general can be said that the higher the win ratio the higher the chance becomes for a series of losses of a certain length. In his article Kahler gives some examples and a graphic which can be used to determine 5 or 10 consecutive losses for a given win ratio. It has to be said that these probabilities occur for a given amount of trades performed and will change negatively when the total trades increases.

Though interesting to know the chance for a series of losses it would be even more interesting to know a distribution of series of losses, e.g. the probability for all possible series of losses and moreover the maximum length of consecutive losses (maximum streak) you might expect for a given win ratio.

Below you can see a figure which gives the relation for the maximum streak and the probability of a loss (loss ratio). Total trades is 500, confidence is 0.998%.




From this figure again can be seen the importance of the loss ratio: the higher this becomes (the more losses)then the maximum strak increases exponentially. E.g when q, the probability of a loss is 35% then the maximum expected streak willl be 6 but when increasing to 70% the maximum streak increases to 17 consequtive losses in a row!

Minggu, 07 Januari 2007

LUCK AND CHANGE ON THE MARKET

My partner and I spent the week around Christmas in Mumbai, India. Mumbai is the financial and economic centre of India. The Bombay Stock Exchange (BSE) had a splendid year behind with a year output of more than 33%.

From local newspapers a moderate hosanna mood can be felt. Also internationally India got much attention in the last year. It is particularly the growing middle class that forms the driving force behind the economy and which gets attention of foreign investors.

With an increase of 33% the BSE is one of the best performing markets in the world. Of course it must immediately be said that almost all markets performed very well. The phenomenon that markets are moving more or less in the same direction is called correlation.

Correlation between markets is high: data which I have collected on 15 minutes basis of the futures on the FDAX and the DOW JONES appear to have a correlation of more than 90% over the past 2 years. This is almost complete correlation.

Now the question arises if a result such as that of the Bombay Stock Exchange can be attributed to well performing of the Indian economy or that also chance may play a role in it. It cannot be denied that chance and luck play an important role on the markets.

Let’s have a look at this without going into this matter to deeply. Suppose that an invisible hand would assign the different markets worldwide a return around a certain average. Then you may expect these returns to be divided normally.

A quick lookup at the financial site of Yahoo reveals the following. Of the 17 most important markets there is not one with a negative output over 2006. The output diverges from 10% (London) up to 55% (Moscow) with an average of rounded 24%. The spread, standard deviation amounts to 23%. This means that if the 17 markets are representative for all markets in the world, about 66% of all markets will show an output of 1 standard deviation above or below the average (therefore 24% ± 23%). Of all 17 markets there are only 2 outside this range.

We can look at this also in a different way: we can consider the return of an individual market as an estimate of the world average and look at how well such an estimate would be.

It is known that such an estimate will have a standard error that equals to σ/√T where σ is the annual volatility and T the number of years:

STD = σ/√T (1)


From formula (1) it follows that the standard error of an estimate of the world average decreases with the square root of the number of years.

Let’s take Mumbai as an example. The excess return or α, of this market above the world average is 33-24 = 9%. Though in general the term α refers to the excess return of a fund with respect to the benchmark, it may also be used for the excess return of a market.

To be convinced that an excess return is the consequence of a better performing of the economy and not to pure chance or luck then the return must be bigger than the world average with a significant size. In a one-sided test at the 95% confidence level the difference between the two must be greater than 1.65 standard deviations.

Suppose the volatility to be around 20% on an annual basis for the Bombay market then the standard error according to (1) will be 20%/√1 = 20%. The 9% above the average of the market is clearly smaller than one standard deviation above the average, clearly below 95% confidence level. It lies approximately at 50% what means that 50% of the return of Bombay falls to pure chance. In fact you can say that the 33% return of Mumbai is a good estimate of the world average.

We can carry out this calculation also differently and perhaps it will even become more clearly then. We saw that the standard error of an estimate of the average decreases with the square root of the number of years taken into account.

We know that: α =9% = 1,65* STD. It follows that STD, the standard error, equals 9/1,65 = 5,45. This value substituted for the STD in formula (1) gives √T = 23% /5,45 = 4.22 ==> T = 17,8 year.

This means therefore that the Bombay Stock Exchange for at least 17 years in succession must show a return that 9% or more lies above the world average to be able to say that for 95% this is due to a better performing of the economy and only for 5% to chance.

Around these days various funds present their performances. Some will show better results than others. From the previous it must be clear that luck may play a large role besides skill of the fund managers and in any case is much larger than they will admit. Think to that.

Selasa, 12 Desember 2006

CONSISTENCY AND SHARPE RATIO (1)

For me consistency has always been a very important and interesting factor in trading. By consistency I mean how long, in a given timeframe, let say 12 months or 12 weeks, my trades are giving a positive result. Can I expect 6 months out of 12 being profitable or more or less? This is one of the questions which I always try to give as best as possible an answer.


One of the most used criteria for evaluating fund managers is the Sharpe Ratio. The Sharpe Ratio is used for this because of its easy use: the bigger the Sharpe the better the fund or the fund manager. This almost has become fait accompli.


How is the Sharpe Ratio calculated? It is simple obtained by dividing the average net profit (mean or expectation E) by the standard deviation of the trades. The standard deviation is, as you may know, a measure for the spread of winners of losers around the mean. Because the deviation is a measure for the trade spread it is also considered as a measure for the risk of the fund or the fund manager, but this standard deviation is also defined as the volatility of the fund.

The Sharpe ratio is in this way defined as the mean profit of the fund (-manager) per point risk or volatility. The bigger the mean, the bigger the Sharpe the better the fund (-manager) is performing. That's the idea.


An example. Suppose trader A has a gain of 5 ES points per trade, a spread of 10 points, done over 100 trades in one year. This means that, when trader's A profits are normally distributed over the losses and the winners, 99,73% of his trade outcomes is lying between 5 minus 30 (=-20) and 5+ 30 (=35). The Sharpe ratio is now 5/10 = 0.5 .


Do you see how it works? When the trade outcomes would have a bigger spread but with the same mean the Sharpe ratio would decrease, the mean per point risk will decrease.


When you look closely at the Sharpe Ratio you will see and understand that is in fact a measure for consistency. To see this take the next example. Trader B takes 100 trades a year but with every trade being a winner (if this would be possible, but for clarity reasons taken here) for 5 points. His net profitability and mean is the same as for trader A but his Sharpe ratio becomes 5/∞ = ∞. His consistency is 100%.


We defined the Sharpe ratio as the mean defined by the spread. This is not precisely correct. The exact definition is the excess profit over a zero risk profit divided by the spread. A zero risk is generally the return of a 30 year T-bond but also a European long bond could be taken. Off course the risk is not exactly zero but is considered to be and also T- bond returns are changing over time (inflation).


Our definition of the Sharpe is a modified Sharpe, but it doesn't really matter, because the exact definition doesn't give more information. You only have bear in mind how the Sharpe is defined when it is used in comparisons.


There is a clear relation with so called z score of a normal distribution and a lookup in a table with a z 0f ∞ gives a 100% consistency. In this way consistency can be defined and I use it this way.


But before closing this post three remarks have to be made.


1. The Sharpe and the consistency is defined for normal distributed trade returns but in practice returns seldom are.


2. The spread as a measure is not a very good one because in this way it also takes positive returns as a risk and this is not what traders and investors generally feel about positive returns.


3. The longer a trader stays in business the bigger his draw downs will be. Or said otherwise: the more trades a fund manager takes the bigger his draw downs will be, or said it in another way: the more trades a fund manager takes, how bigger his drawdown. The consequence is that the longer a fund manager is in business (the longer a fund exists) he will be punished with a lowering of his Sharpe ratio. I will come back to this in my next post.


So the conclusion is that Sharpe is a useful concept but not more and so other concepts for consistency are needed. These are the Sortino Ratio, Callmar ratio and the Martin Ratio. I developed another concept of consistency which I called Excess Loss Wealth Function (ELWF) which I draw directly from the theory of random walks.
Related Posts Plugin for WordPress, Blogger...