Update 6/23/2015: Please see (https://www.quantopian.com/posts/earnings-drift-with-estimize) for the newest version of this algorithm
The folks at Quantopian were kind enough to give me a sneak preview of the latest data-set they're making available for backtesting: crowd-sourced earnings and revenue estimates from Estimize.
This backtest shows an example of trading earnings surprises for Netflix (NFLX) over the last 5 quarters using Estimize's crowd-sourced EPS estimates. The strategy is simple - when there is an earnings surprise that passes some set threshold (I started with +10%), then buy and hold for 15 trading days. I've exposed as global variables both the THRESHOLD to use for deciding what size earnings surprises to trade and the HOLD_PERIOD that says how long you want to hang on to the position.
This algo is set up to trade a single stock (like NFLX), a manually selected list of stocks, or a set_universe basket of stocks based on trailing dollar volume. I'd like to extend this proof of concept to do a market-neutral quantile analysis and also to test the predictive power of the Estimize estimates by trading the day BEFORE report on the % difference between Estimize's mean and the Wallstreet mean (another field accessible in the Estimize test dataset). Currently I am defining the 'surprise' as the % difference between the Estimize mean and the actual reported EPS #.
Please clone this algo! I know that this algorithm can use a lot of improvement. I'd love to get some help exploring this data further.
code note: to get at this data set you'll need to use the new custom fetch_estimize method. Quantopian tells me the full documentation will come out in a day or two.