Professional Documents
Culture Documents
Common pitfalls:
Ignore the intuition requirement at your own peril! Cointegration works great, until it doesn’t.
Market neutral or ‘hedged’ strategy, so you are forgoing any upward drift in the longer term.
Simplistic Intuition (cont’d): If you assume the spread between stock 1 and stock 2 is
‘stationary’ and ‘normally distributed’, then statistically you should be able to make money
by ‘buying’ or ‘selling’ the spread when it takes on extreme tail values.
6/06 – 6/12
Huapu Pan (NYC Algo Trading meetup member) Posted 12/19/13
“Ernie Chan’s EWA/EWC Pair Trading”
https://www.quantopian.com/posts/ernie-chans-ewa-slash-ewc-pair-trading
Momentum Trading
Common pitfalls:
The trend is your friend, until it isn’t. Reversals can be devastating, especially when using
leverage.
1. Jegadeesh and Titman, Returns to Buying Winners and Selling Losers: Implications for Stock
Market Efficiency. Journal of Finance March 1993
2. Faber, A Quantitative Approach to Tactical Asset Allocation. Journal of Wealth Management 2013
Momentum Trading
Some cheap stocks are cheap for a reason. “Catch a falling knife” adage.
Valuation
Beware the Short Squeeze! Crowded short trades can lead to a squeeze as short sellers rush to close
positions.
Sentiment: Short sellers
Mean Reversion
Momentum
Valuation
Sentiment
Seasonality
Other
25 Top Shared Algorithms of All Time
Combo Rank Post Title Replies Views Clones
1 Google Search Terms predict market movements 64 31913 809
2 OLMAR implementation 64 26039 697
3 Easy Volatility Investing by Tony Cooper @ Double-Digit Numerics 57 15117 839
4 Global Minimum Variance Portfolio 28 10222 700
5 discuss the sample algorithm 12 18348 2882
6 ML - Stochastic Gradient Descent Using Hinge Loss Function 10 20400 972
7 Mebane Faber Relative Strength Strategy with MA Rule 22 11104 617
8 OLMAR w/ NASDAQ 100 & dollar-volume 31 7760 697
9 Bollinger Bands With Trading 18 8363 560
10 Brent/WTI Spread Fetcher Example 17 10821 327
11 Ernie Chan's Pairs Trade 15 10387 328
12 Ranking and Trading on Days to Cover 4 24906 379
13 Using the CNN Fear & Greed Index as a trading signal 18 9212 318
14 Determining price direction using exponential and log-normal distributions 9 9539 606
15 Time to sell in may and go away? 27 8192 261
16 Simple Mean Reversion Strategy 6 11794 270
17 Neural Network that tests for mean-reversion or momentum trending 4 10062 402
18 Using weather as a trading signal 6 11940 199
19 Momentum Trade 5 8800 455
20 Trading Strategy: Mean-reversion 13 8228 213
21 Global market rotation strategy 53 7621 94
22 trading earnings surprises with Estimize data 34 7496 129
23 Turtle Trading Strategy 11 7815 299
24 SPY & SH algorithm - please review 21 7443 194
25 New Feature: Fetcher! 27 7507 108
TOTALS: 576 311,029 13,355
25 Top Shared Algorithms of All Time
Combo Rank Post Title Replies Views Clones
1 Google Search Terms predict market movements 64 31913 809
2 OLMAR implementation 64 26039 697
3 Easy Volatility Investing by Tony Cooper @ Double-Digit Numerics 57 15117 839
4 Global Minimum Variance Portfolio 28 10222 700
5 discuss the sample algorithm 12 18348 2882
6 ML - Stochastic Gradient Descent Using Hinge Loss Function 10 20400 972
7 Mebane Faber Relative Strength Strategy with MA Rule 22 11104 617
8 OLMAR w/ NASDAQ 100 & dollar-volume 31 7760 697
9 Bollinger Bands With Trading 18 8363 560
10 Brent/WTI Spread Fetcher Example 17 10821 327
11 Ernie Chan's Pairs Trade 15 10387 328
12 Ranking and Trading on Days to Cover 4 24906 379
13 Using the CNN Fear & Greed Index as a trading signal 18 9212 318
14 Determining price direction using exponential and log-normal distributions 9 9539 606
15 Time to sell in may and go away? 27 8192 261
16 Simple Mean Reversion Strategy 6 11794 270
17 Neural Network that tests for mean-reversion or momentum trending 4 10062 402
18 Using weather as a trading signal 6 11940 199
19 Momentum Trade 5 8800 455
20 Trading Strategy: Mean-reversion 13 8228 213
21 Global market rotation strategy 53 7621 94
22 trading earnings surprises with Estimize data 34 7496 129
23 Turtle Trading Strategy 11 7815 299
24 SPY & SH algorithm - please review 21 7443 194
25 New Feature: Fetcher! 27 7507 108
25 Top Shared Algorithms of All Time
Categorized
Volatility Technical Seasonality
5% 3% 3%
Portfolio Risk
6%
Mean
Reversion
Momentum 37%
18%
Area ~ page views
Sentiment
28%
Questions?