Let's discuss academic research on mean-reverting trading strategies...

Discussion in 'Strategy Building' started by mizhael, May 24, 2009.

  1. Thanks to you all for all the valuable inputs, links and references regarding the mean-reverting trading strategies. :) Shall need to read more to understand it better.

    Can we apply the same in any trading software, please name them? Is it possible to post some examples for the same?
     
    #51     Jun 19, 2009
  2. ok this pair trade has stabilized at about -$400, and the passage of time has not cured this. it's a paper trade, i'm closing it for a loss of $400.

    possible explanations:

    1) i have NOT looked at the ratio of the pair (it's stupid, i know, i know, don't have the software yet). so i did not know where the ratio was relative to its historical levels, whether the pair is trending etc etc

    this was only finviz-based. i guess this means if you only look at one stock (instead of the pair in its entirety), you better trade that one stock.

    a standalone short Novartis trade would've made some money, but the switzerland etf lost much more, maybe because of problems in the europe etc

    2) various etf pairs strategies may work better in the commodities complex, e.g. USO/XLE, GDX/EWC, ABX/EWC etc.

    in any event, i am deeply disturbed by this and i think i need to bring myself back into a centered state of mind. i am going to do some breathing exercises and tai chi.
     
    #52     Jun 24, 2009
  3. I suggest you download some of the Matlab code to test for cointegration in your pairs. R also has some code and I think Mathematica will do it as well.

    What you want is to detect a long term relationship between the pairs. Correlation measures the relationship at a point in time; it is typically an unstable risk factor in financial markets.

    Carol Alexander in "Market Models" has a good explanation of correlation and cointegration. She also has some articles on the web that are worthwhile. To find them, just type "Carol Alexander cointegraton" in google.
     
    #53     Jul 12, 2009
  4. I could not find it in Mathematica so I am switching to R, which definitely has it......
     
    #54     Jul 12, 2009
  5. #55     Jul 12, 2009
  6. marine

    marine

    I keep seeing intradaybill mention that if co-integration exists then so does correllation. Nothing could be further from the truth.

    People who pairs trade trade co-integration! They do not trade correllation!

    In general if you find a pair that is co-integrated, then most likely it will be correlated but this is not always true and in fact you do not want it to be true.

    The best pair to trade is one that is co-integrated (i.e. stationary) but is negatively correllated.
     
    #56     Sep 10, 2009
  7. Great description. Too bad some software vendors won't read your comment.
     
    #57     Sep 13, 2009
  8. A very good quote, Ms Varima-Garch. It spoke a lot of how greed blinds our thinking. :(


    The correct link is as follows:
    http://www.verbeia.com/mathematica/mathecon/econ_code.html
     
    #58     Sep 17, 2009
  9. #59     Sep 17, 2009
  10. It is true that correlation does not imply cointegration. I think we can agree to that.

    Cointegration implies correlation when the residuals are stationary. When the residuals are normal, there is longer term correlation.

    In the paper you posted there is a basic error in that if the residuals are random the two series are not cointegrated and you cannot know that from a limited sample.

    I thus insist, cointegration implies correlation, but not vice versa.
     
    #60     Sep 17, 2009