Pages

Thursday, February 26, 2015

Momentum v. mean-reversion

Short term update: Bloomberg columnist Ritholtz shares this article, and Barron's compelling columnist Ben Levisohn compliments this article as "wonky and worthwhile".  Complimented as "a great deep dive" by Lindzon, president of StockTwits.  For all other sample citations, please see here.

Which is a better trading strategy, momentum or mean-reversion?  Try this mathematical thought experiment for yourself.  Look at the four anonymized stocks below, each trading from the mid-1980s.  Each stock chart starts indexed at $100.  What do you see in each of these stocks?  Are there some hints in each of them, which indicate that one of the two trading strategies is better?  Are stocks A and C better buys, versus stock D?


Now let’s look at applying a trading strategy to these companies.  Say a momentum strategy, where we focus on if the stock moves up (relative to its trend) for two years straight, one then invests in that stock until the first relative down-year of that company.  What types of returns would you make from this (“don’t fight the uptrend”) strategy?

Next let’s look at a mean-reversion strategy, where we focus on if the stock moves down (relative to its trend) two years straight, one then invests in that stock until the first relative up-year of that company.  Which of these strategies is easier to use (i.e., momentum, or “buy the dip”)?  And what sort of returns would you estimate getting from these simple trading rules described here?

By answering such math questions, we learn a lot about the risks and rewards, of these fundamentally exclusive trading ideas.  These are the same ideas that are mathematically embedded into modern ARIMA econometric models.  Pause for a moment and try to determine by looking at the four stock returns above, which sort of trading signal and profit would be generated:

I.    <$100
II.   $100-$200
III.  >$200

What we see below is that both of these technical rules produce the same results!  About $75 profit (or answer I above), off of the $100 initial price.  So in other words the implementation of one successful strategy (after all we profited $75) mathematically means we would not be able to profit on the other strategy.  Aren’t we therefore -by nature- still leaving money on the table?


Inspecting the above stock chart more closely, we might also notice that both trading signals only worked about 7 or 8 of the years, per company (or a quarter of the time per strategy).  This also implies the other half of the time neither trading style exclusively applied, even though some risk should have been taken as the stocks were still in an overall uptrend.  We also notice that even with fairly equal returns from stocks A and C, have differing results within the same strategies!  Worse yet, we notice the risks involved in either strategy, since none of the strategy returns shown above just moved in an up-only direction.  Both can suffer losses from mistiming within the strategy.

Putting this altogether, we see all of the mixed prospects of using one of these trading strategies.  The results in this case of both strategies equaling $175, after 30 years, falls short of the results of typically amassing $400 if we instead just kept a buy-and-hold strategy the entire time (see the top-most chart.)  Also the $75 profit is is likely less than any optimistic market participant would have guessed ex-ante, while first seeing the chart (e.g., the I, II, III choices above).

Also notice that the interpretation of both momentum and mean-reversion are the same, in a short-term view, in that one is waiting for a a slight trend in order to still make the same decision (in this case to buy stocks).  This means that both strategies are in fact the same to some degree (and offer the same returns as noted above!), differing only in the hope of the investor about where stocks should head.  We say "hope" because again at the end of waiting for the same signal, the future direction of the stock is still random

Still not convinced buy-and-hold would be the best approach to these stocks above?  Think there is a better rule-based algorithm you could apply to better tune your approach to each of these four stocks?  Unfortunately, think again.  The stock chart above is bogus, and in fact each series is just a random number generator.  See the de-trended chart below.


While starting at $100 each variable A, through D, annually fluctuates between -$20, to +$20.  Whatever happens in any given year has no influence on what then happens the following year.  And here is the key probability insight for this article is: ogling at a recent random trend to provide a signal also has no value.  We added a +$10 upward drift each year, on top of the random annual move of -$20, to +$20.  Of course the reality of economic compounding should have been an early tip-off that the top-most chart isn’t perfectly right.

One is essentially being fooled.  Not by me, but by randomness, and that can happen in more ways then we might think.  Articulating ideas from stock chart patterns, which can speak to someone if they hope them to.  But signals mislead with false-positives in this article, just as they often do in real-life (here, here, here, here).  In this case we also see that we could unfortunately have been fooled into thinking that the underlying trend of the "companies" A and C, were different from D.  In fact they were, and are all the same.  One was only fooled here by the compounded random oscillations impacting one's assessment of the core underlying trend; and sure you can delude yourself into thinking you can wait such things out (the chart above was only a 30 year reference!)
 
Also recall that just a month ago that all chart-devoted technicians adamantly accepted that markets were "consolidating" into a multi-month top, with nowhere to go but down.  Instead volatility fell and we are now yet again at all-time highs, including the once-bubbled Nasdaq.  And just as quick, the same folks have gone back to update and rely on the "real-world" market charts to pick up new “signs” of what this all might mean.  It means nothing.  More importantly, it is just random where it will ever matter to you.

A legendary portfolio manager, who self-terminated his portfolio management career after a nice run, said of those who try timing the market:

Far more money has been lost by investors preparing for corrections, or trying to anticipate corrections, than has been lost in corrections themselves.


Peter Lynch’s wisdom in this regard works for individuals who consider the mutually-exclusive success of momentum or mean-reversion strategies, and falsely believe that either is the best way to gain an upper-hand over the market.

15 comments:

  1. Salil, do you think valuation strategies are then better than momentum and mean reversion, or are they also random?

    ReplyDelete
    Replies
    1. Thanks much Francisco. Valuation accounting is an important skillset to have. But “valuation strategies” are still random. Please see these three citations to get started.

      Wayfaring on CAPE’s edge:
      http://www.bloombergview.com/articles/2014-09-03/ritholtz-s-reads-the-bond-bubble-myth

      CAPE and math:
      http://www.bloomberg.com/news/articles/2014-08-21/shiller-p-e-shows-confidence-in-profit-outlook-chart-of-the-day
      http://www.bloombergview.com/articles/2014-08-22/your-weekend-reading-on-the-cape

      Delete
  2. Thank you for your writing. I enjoy reading it. I have a couple comments. As you will tell, I disagree with your basic premise in this article. However, I am not meaning to attack...just comment and question.
    1. Just because you can construct a line that looks similar to a stock chart with random numbers does not prove that price movements of stocks over a longer term horizon are random.
    2. You appear to me to be building up a straw man argument against momentum and mean reversion. The application of your momentum and mean reversion strategy are pretty simplistic. The people I have seen implement such strategies use a far more sophisticated approach to extract value from the phenomenon.
    3. How do you refute the volumes of academic research that show the efficacy of momentum as an investment strategy?

    ReplyDelete
    Replies
    1. Thanks much anonymous. You do seem confused with your ideas. First, the fact that anyone could see that random noise resembles a stock chart is equivalent to anyone seeing that a stock chart resembles random noise. That completely proves my point, while simultaneously invalidating your concerns.

      Also probability ideas are not just a strawman, particularly if someone such as yourself can’t prove otherwise with real money. The globally renowned manager cited in the article (Peter Lynch) also noted: "I can't recall ever once having seen the name of a market timer on Forbes' annual list of the richest people in the world. If it were truly possible to predict corrections, you'd think somebody would have made billions by doing it."

      Your third comment is strangely uttered and can thus best be answered through the instructions of an even more fabled manager (Warren Buffett), laid out in his will concerning his wife’s benefit: “My advice to the trustee could not be more simple: Put 10% of the cash in short-term government bonds and 90% in a very low-cost S&P 500 index fund. (I suggest Vanguard’s.)”

      You can also see this article, which was among the most read and globally translated in that Sunday’s New York Times print:
      http://www.nytimes.com/2014/04/06/business/the-oracle-of-omaha-lately-looking-a-bit-ordinary.html

      Or also in the magazine that produces the aforementioned Forbes' list:
      http://www.forbes.com/sites/simonmoore/2014/08/14/306/

      Delete
    2. "I can't recall ever once having seen the name of a market timer on Forbes' annual list of the richest people in the world. If it were truly possible to predict corrections, you'd think somebody would have made billions by doing it."

      Has Mr. Lynch never heard of David Shaw or Jim Simons?

      Delete
    3. Thanks much Quantstrattrader. It is true that the two fund mangers noted are in the Forbes' list. And nice for them and the other hedge fund managers on the list! I almost worked at one of these funds. However, Peter Lynch's point still was that it could be shown that the number of traders to make it onto the list is going to be minuscule in relation to the number who get there with long-term business investments (on either an absolute or on a relative basis). Of course there are hedge fund managers who regularly also go bust at an alarming rate, versus those investing in more prudent, long-term market investments. So we really should be looking at a Forbes' "net list" to be fair:

      # of billionaires per strategy, minus # of busts per strategy

      Nonetheless, highlighting billionaire hedge fund managers by itself is not a thorough analysis to prove a normally superior trading strategy, since they take a 2% annual management fee from their client's money. This only reflects an economically-irrational decision made by clients to fork over large annuities, regardless of what the managers do. In an industry holding trillions of dollars, this alone is worth many billions of dollars per year (enough to leap a dozen or so managers into the Forbes' list). As top managers have recently and skeptically noted as well, hedge funds have lately -in aggregate- either been simply crowding into risk that reflects the overall market or have been in market neutral (so zero-sum) strategies. So statistically, neither style would justify consuming an additional 20% of their client's annual gross "returns". This article below shows that over the past decade, hedge fund managers have been collecting fees, while dishing back returns that have only trailed a reasonable, 60/40 balanced fund, let alone the S&P 500:

      http://www.wsj.com/articles/SB10001424052702303749904579580382179546404

      Another interesting ideas is that if you would like to see the dear cost paid for employing leverage, the you'd enjoy this timely article here:

      http://statisticalideas.blogspot.com/2015/02/volatility-product-proselytizers.html

      Delete
    4. This comment has been removed by a blog administrator.

      Delete
  3. Just about everybody market times their purchases.

    The exception is periodically dollar cost averaging. Otherwise, whether value or growth, momentum or mean-reversion, Warren Buffett or George Soros, just about everybody times at least one half of their transaction.

    ReplyDelete
    Replies
    1. Thanks much anonymous. There is no evidence that less than half of investors are timing their purchases. As for dollar-cost averaging, here is an actuary article concerning the risks of doing that.

      It was accepted in a leading Society of Actuaries annual print publication, including a rare link to our external web portal and recognition of an individual's book:
      https://www.soa.org/Library/Newsletters/Risks-And-Rewards/2014/august/rar-2014-iss64.pdf

      Delete
  4. Most large asset managers leg into their positions to minimize adverse market impact but that is different than market timing for alpha. Can you cite your info source?

    ReplyDelete
    Replies
    1. Thanks much Kenyc. I used to report daily investment analysis as a strategist to the CEO of one of the world's largest money managers (>$1 trillion). Clearly in the search for differentiated returns (even against competitors), market timing filters into the mindsets of those performing investment modeling. Why else are there CNBC monitors floating above (but on mute), but to remind the traders and managers of where the market levels are minute-by-minute?

      Please see the following blog link from the homepage, for citations:
      http://statisticalideas.blogspot.com/2013/02/additional-resources.html

      Also you might want to see the comment section above, where I cite my published actuary print article on dollar-cost averaging risk.

      Delete
  5. How come people pay 4% on premium and 40% on profit year after year if buy and hold index is better than market timing? How come some good algo funds have outperformed buy and holders decade after dacede? Sure there are crap algo funds just like there are crap car drivers but that is not to say that algo strategies are inferior to buy and hold, in fact overwhelming evidence suggest that algo is better than buy and hold.

    ReplyDelete
    Replies
    1. Thanks much anonymous! Unfortunately, your statements are nearly all strange, and false. Most people are in fact not paying this amount, in case you haven't noticed the tidal wave of flow away from active investing. Nearly all programmatic funds have not performed well historically, and none could predictably do so going forward. And if there is overwhelming evidence that algorithmic trading is superior, then please charitably unmask yourself. Jointly prove to us your overwhelming success, and how you have freely helped others achieve the same.

      In the interim, for real constituents, please see this article in Pensions&Investments. It was the most popular for several days straight, in this bi-weekly publication geared for the leading pension and endowment advisors around the world.
      http://www.pionline.com/article/20150424/ONLINE/150429908/the-puzzle-in-active-investing

      Or one can see this article cited through the Financial Times, and Bloomberg:
      http://statisticalideas.blogspot.com/2015/04/the-indomitable-benchmarks.html

      Lastly, for fun one can see this concerning Warren Buffett...
      http://statisticalideas.blogspot.com/2015/04/p-and-buffetts-untenable.html

      Delete
  6. There are two key factors to deal with here first is "stock universe" and second is "time". if you strictly follow buy and hold then you have to spend time researching the value factors of the firm and as you are not going to change the holding you will indirectly set high standards for the stock selection. This will significantly narrow down your "stock universe" whereas you can play around with any stock for momentum strategies. Can you suggest a method to check the significance of the difference in the returns? The one way I can think of to check the significance of difference in returns is to come up with a procedure for stock selection for "buy and hold" and indicators for "momentum" trading and compare the weighted returns over wide number of stocks say "NYSE".

    And moving to second factor "time", do you really want to stay exposed to one company for such a long time? All companies face the ups and downs due to changes in economic activity and you can end up having no returns for a very long period till market recovers to the previous levels. So then how will you decide when to sell the stock? Now if you do end up making an exit criteria then again you need to check whether the profit that you made because of the condition you came up with was significantly different than still holding the stock. This dilemma is solved easily for momentum strategy and mostly eliminates the human factor as its based on signals.

    I guess it all depends on how good your models are for stock selection for both the strategies.

    ReplyDelete
    Replies
    1. Thanks much Deep. You and others may enjoy these excellent article here:

      stock selection:
      http://statisticalideas.blogspot.com/2014/02/forever-elusive-alpha.html

      market timing:
      http://statisticalideas.blogspot.com/2014/05/a-thousand-false-summits.html

      overall active management:
      http://www.pionline.com/article/20150424/ONLINE/150429908/the-puzzle-in-active-investing
      http://statisticalideas.blogspot.com/2014/07/convolution-theory.html

      Delete