Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
This algorithm perform better only for a small window

Through out SPY index was leading and algo was not doing so well. However for last one month of data it did well and overall output was same as SPY index