Before the start of each trading day, I would like to be able to look back the last 60 days at the high prices for each stock and count how often that price is above a target value. Then I want to update the universe so that it only includes stocks where the high price was over the target x number of times. I know how to do this one stock at a time within handle_data but I really think it makes more sense to just have the universe updated each day with this logic before trading starts. I can't think of how though.