Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Pipeline for a list of stocks

If I have a specific list of symbols that I'm interested in as my universe, how can I apply a pipeline to that universe? Can 'inputs' be a list of symbols?

2 responses

Mike,

There are a couple of approaches. Maybe search the forums here for "symbols" or "list". Here is one such post which I attached code for doing just what you wanted. https://www.quantopian.com/posts/using-a-specific-list-of-securities-in-pipeline#57964b09938eade52300015b

Good luck,

Dan

Hi Mike,
Someone taught me this yesterday.

from quantopian.pipeline.filters import StaticAssets

universe = StaticAssets(symbols(your_list_of_symbols_as_strings)).