Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Handpicking stocks for pipeline?

Hi there everyone. Getting to know both Quantopian and Python and I'm stuck:

I've learned how to set up a pipeline with a prebuilt stock universe, but to understand all the processes I'd like to control exactly which stocks are in the pipeline to begin with. For instance picking 20 stocks that I like and then apply filters, trading logic etc. Any way of doing this? Any help appreciated :)

2 responses

Take a look at Take a look at the StaticAssets or the StaticSids filters. Those allow one to enter a fixed set of securities as a trading universe. see https://www.quantopian.com/help#built-in-filters

Attached is simple algorithm which implements the 'StaticAssets' filter.

Good luck.

Thank you very much Dan!