I. Idea Sourcing
A. Textbooks
- Trading and Exchanges: Market Microstructure for Practitioners by Larry Harris. Market participants & motives, how trades are carried out in detail.
- Algorithmic Trading: Winning Strategies and Their Rationale by Ernest Chan. A second to the famous How to Build Your Own Algorithmic Trading Business. Mean reversion, momentum, and reflections on market conditions.
- Volatility Trading by Euan Sinclair. Volatility modelling/forecasting & option strategy implementation.
B. Internet
Blogs:
- Quantitative Trading (Ernest Chan). http://epchan.blogspot.com
- Quantivity. http://quantivity.wordpress.com
- Quantopian. http://blog.quantopian.com
- Quantpedia. Homepage - QuantPedia
Aggreagators:
- Quantocracy. Quant Mashup - Quantocracy
- Quant News. Algorithmic Trading - FXCM Markets
- Algo Trading Sub-Reddit: http://www.reddit.com/r/algotrading
Forums:
- Elite Trader Forums: http://www.elitetrader.com
- Nuclear Phynance: Nuclear Phynance
C. Journals
- Journal of Investment Strategies http://www.risk.net/type/journal/source/journalof-investment-strategies
Questions to ask about strategies:
- Easy to understand?
- Too many paramters?
- Prelimary PnL & Risk-reward?
II. Simple Time Series Modeling
A. Evaluating Mean-reversion through ADF(p = 1)
A simple formula capturing "change in x is in proportion to its distance to the mean":
Augmented Dicky Fuller test of order p tests whether in the follwing set up:
When p = 1, the above set up is simply
.
So for any demeaned series, ADF with p = 1 is a test of mean reversion. Passing the ADF means there's some evidence for mean reversion.
statsmodels.tsa.stattools.adfuller provides testing functionality in python.
B. Hurst Exponent << 0.5 for stationarity
The key insight is that any stationary time series diffuses slower than GBM. Hurst exponent measures stationarity, thus a very small hurst index means strong stationarity.
For any price series with no drift, approximately
For GBM,
.
So for GBM H is 0.5. If H is small, the variance is small, the series diffuses very slowly, fitting the profile of stationarity (again, not proving, but good evidence).
C. Cointegration Test: Regress then test stationarity
Cointegration means there exists a , such that is stationary in
.
We first find the through a linear regression. Visual justification is normally needed. Then we test the residual's stationarity.