Quiz System

Here’s the  Equity curve: And here’s the code: Buy=Sell=Short=Cover=0;if (StrFind(“WOODGDXEPUIDXPALLJJG”, Name()))Buy=Sell=1;qty=6;SetOption(“MaxOpenPositions”,qty);;PositionSize=-98/qty;SetTradeDelays(0,1,1,1);BuyPrice=C;SellPrice=O;ShortPrice=O;CoverPrice=C; What’s happening here? This is a variation of Jay Kaeppel’s post at optionetics but using some extra ETFs that have exhibited the same kind of behavior. Original article: http://www.optionetics.com/market/articles/2012/11/28/kaeppels-corner-the-greatest-gold-stock-system-youll-probably-never-use It buys equal amounts of each of these 6 etfs: WOOD,GDX,EPU,IDX,PALL,JJG.It buys on the close …

Read moreQuiz System

Quantopian Multiple Strategy algorithm

I implemented a Multi-Strategy algo in python that can be backtested in Quantopian. Quantopian is an online tool/community where you can code your own algorithm (or copy someone else’s) and backtest against historical 1-minute data. Yes, that is 1-min intraday data of all major U.S. stocks, for free. This is what the backtest looks like …

Read moreQuantopian Multiple Strategy algorithm

Better than mean-reversion? An Adaptive Multi-Strategy System

Mean reversion strategies have been very popular since 2009. They have performed exceptionally well for the past 10 years, performing well even during the 2008-09 bear market. Different versions have been popularized, notably by Larry Connors and Cezar Alvarez (previous post) as well as many others in the blog-o-spere such as David Varadi of CSS analytics (DV2) and Michael Stokes @ MarketSci. …

Read moreBetter than mean-reversion? An Adaptive Multi-Strategy System