I want to filter out to build the stocks list which are within 5% of 52 weeks high before market open every day. How to add scan the stocks within 5% of 52 weeks every day

self.add_universe_selection(ETFConstituentsUniverseSelectionModel("SPY", self.universe_settings, self.etf_constituents_filter))
    def etf_constituents_filter(self, constituents):
        # Define your filtering logic here
        return [c.symbol for c in constituents]