Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Golden/Death Cross Implementation with Pipeline

I have attempted to implement a golden cross and death cross strategy that buys when the SMA50 crosses over the SMA200 and shorts when the SMA50 crosses under the SMA200. My universe right now is the Q1500 with a volume filter. I need help implementing an ETF only pipeline but I do not know how to accomplish this task. Another user on the forum recommended I search for all stocks lacking Morningstar fundamentals, as morningstar lacks ETF data, but I do not know how to accomplish this task. Any help with the pipeline and cleaning up the code in general would be greatly appreciated.