Hi
I am trying to create a universe of equities which have market cap more than 10 billion. But the backtest always seem to include some which do not have fulfill the condition. 
I will attach my sample code here 

Am I doing something wrong ?

class FlipCountTradingAlgorithm(QCAlgorithm):
    def Initialize(self):
        self.SetStartDate(2018, 1, 1)  # Set the start date for the algorithm
        #self.SetEndDate(datetime.today())  # Set the end date to today
        self.SetEndDate(2020,1,1)
        self.SetCash(10000000)  # Set the initial cash for the algorithm
        self.UniverseSettings.Resolution = Resolution.Daily  # Set the universe selection resolution to daily

        # Add universe selection based on the constituents of SPY ETF
        #self.AddUniverse(ETFConstituentUniverse, "SPY", self.UniverseSettings.Resolution, self.CoarseSelectionFunction, self.FineSelectionFunction)
        #self.AddUniverseSelection(ETFConstituentsUniverseSelectionModel("SPY"))
        
        self.AddUniverse(self.CoarseSelectionFunction)



        #self.add_universe(self.universe.etf("SPY"))

        # Dictionary to store stock data including the rolling window
        self.data = {}

        # Define thresholds
        self.buy_threshold = 9
        self.sell_threshold = 9

        # Lists to track long and short positions
        self.long_positions = []
        self.short_positions = []

    def CoarseSelectionFunction(self, coarse):
        # Select all constituents of the ETF
        f = [f.Symbol for f in coarse if f.market_cap > 10000000000]
        return f