Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Removing a security from a custom universe

Hi all,

New to Quantopian and am wondering how to do a (probably) relatively simple action. How do I remove a stock from my universe entirely? I have a simple script that buys a stock then sells after it has a certain percentage gain. After that stock is sold, I don't want to buy it again so I want it completely out of my universe.

Any ideas? Below is what I have so far...thanks!