Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Group 28 - GTCAA

I replaced VWEHX with VXX - an ETF of VIX.

You can change the long_days, short_days value to test different momentum strategy parameters in initialize() function.

# Create our dynamic stock selector.  
    long_days = 252  
    short_days = 21  
    algo.attach_pipeline(make_pipeline(long_days, short_days), 'factor_pipeline')