Momentum strategies

1 · Erik Bernhardsson · March 3, 2014, 5 a.m.
Haven’t posted anything in ages, so here’s a quick hack I threw together in Python on a Sunday night. Basically I wanted to know whether momentum strategies work well for international stock indexes. I spent a bit of time putting together a strategy that buys the stock index if the return during the previous n days was positive, otherwise doesn’t do anything. I ran this strategy for a basket of approximately 20 stock markets. Anyway, disregarding transaction costs, yada yada, historical returns ...