Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Is it possible to create a custom universe based on a specific list of assets?

Hi,
I want to use a pipeline with factors calculated and ranked only for a pre-determined list of securities.
Can anyone show me how to do that with Quantopian?

3 responses

Take a look at this post https://www.quantopian.com/posts/using-a-specific-list-of-securities-in-pipeline. I've also attached a notebook with a similar custom factor.

Good luck.

Thanks!

Just noticed a built in filter that filters to a list of equities. Can be used for a single equity or a list of equities.

from quantopian.pipeline.filters import  StaticAssets

aapl = StaticAssets(symbols(['AAPL']))  
aapl_ibm = StaticAssets(symbols(['AAPL', 'IBM']))