For access to the jupyter notebook with interactivity containing the CTA strategy, please click on this link: http://nbviewer.jupyter.org/github/rkohli3/TSMOM/blob/master/momentum.ipynb
To access the jupyter notebook with interactivity for Indian Equities, please click on the link below: http://nbviewer.jupyter.org/github/rkohli3/TSMOM/blob/master/MomentumIndia.ipynb
The following code blocks are based on the Time Series Momentum strategy, TSMOM, as illustrated in the 2011, Moskowitz, Ooi and Pedersen paper.
-
What is TSMOM and how is it different from Momentum mentioned by Jegadeesha and Titman, 2001?
TSMOM is a smarket anomaly that captures strong positive predicitibility from a security's own past returns. That is, if the past returns are positive, they will continue to be positive and vice versa.
This is related to, however, different from "momentum" in finance literature, which refers to the cross-sectional performance comparison of a security from its peers, where securities that have outperfermoed their peers in the past three to twelve months, will continue to do so on an average. TSMOM, focuses primarily on the security's own returns -
Why replicate?
I do this in order to backtest results for the highly liquid ETF securities in the same asset class as the paper mentions. These asset classes are:- Bonds
- Equity Index
- Currencies
- Commodities
Let's get on with it, shall we?!?!