Mean reversion basket

Discussion in 'Strategy Building' started by ajensen, Apr 13, 2017.

  1. ajensen

    ajensen



    Thanks for your reply and for the backtrader project. I should have written that the strategy is to own the N most oversold stocks each day. Then the exit criterion is to sell the stock when it is no longer one of those N most oversold.
     
    #11     Apr 14, 2017
  2. Quantopian claims they don't look at your code, but what are the odds on that actually being true?
     
    #12     Apr 14, 2017
    gkishot likes this.
  3. They've said they can do it so the odds are high that someone is checking it out.
     
    #13     Apr 14, 2017
  4. Meh. So what if they do? There's nothing new under the sun.

    I read an article in SeekingAlpha that gets my interest, code it up, backtest and find it interesting. All it does for me is simplify executing a system. No magical secrets involved.
     
    #14     Apr 14, 2017
    tommcginnis likes this.
  5. I disagree. And obviously it's not true that there is nothing new or else they wouldn't be paying random people from the internet to use their trading strategies. They would just use all the already known strategies.
     
    Last edited: Apr 16, 2017
    #15     Apr 16, 2017
    Occam likes this.
  6. Hmm...moving averages are momentum signal, not mean reversion. Check out this website, this website and this website for ideas.
     
    #16     Apr 17, 2017
  7. ajensen

    ajensen

    Thanks for the links, but buying/selling a stock when it is below/above a moving average is a plausible mean-reversion strategy. Change the sign of the position of a trend-following system, and you have a mean-reversion system. The question is whether it will work.
     
    #17     Apr 17, 2017
  8. Trader13

    Trader13

    Actually, it's only plausible if you could take a position in the moving average itself as a trading instrument. Then you could buy/sell the primary trading instrument and take an offsetting position in the moving average. Sooner or later, they will converge and you will have your reversion strategy. Of course, this is impossible since you cannot trade the moving average itself.

    Buying a stock because it is well below its moving average is an oversold strategy, not a mean-reversion strategy. Oversold means you think it will bounce back, so you take a long position. There is no mean reversion involved. Another trader may look at the same situation and take the opposite view ... that the weakness of the stock is a breakout to the short side.
     
    #18     Apr 17, 2017
  9. Simples

    Simples

    A practical definition of mean-reversion : Trading in the direction toward a mean. That mean is relative though, since it may depend on conditions like the timeframe and period/method used to calculate it.

    So two traders trading mean-reversion could actually be in opposite directions of one another, even take the opposite side of the other's trade!
     
    #19     Apr 17, 2017
  10. Sergio77

    Sergio77

    #20     Apr 22, 2017