Isn't this just `min_periods or self.DEFAULT_MIN_PERIODS`?