Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Record individual stock performance within portfolio

I'm thinking about coding something which records the returns of each individual stock within a portfolio and uses that as a screen within the universe selection. Stocks that have returns below a threshold over the last N days are then blacklisted for N days into the future.

Has anyone coded something similar to this? Any thoughts on the best way to approach this?