From d578c910bccb769bb3fd654ef1a2a6cfe13db59c Mon Sep 17 00:00:00 2001 From: Stefano Ariestasia Date: Mon, 8 Jan 2024 15:09:42 +0900 Subject: [PATCH] remove unused lines --- freqtrade/plugins/pairlist/MarketCapFilter.py | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/freqtrade/plugins/pairlist/MarketCapFilter.py b/freqtrade/plugins/pairlist/MarketCapFilter.py index cae971762..b9b9eb067 100644 --- a/freqtrade/plugins/pairlist/MarketCapFilter.py +++ b/freqtrade/plugins/pairlist/MarketCapFilter.py @@ -48,7 +48,7 @@ class MarketCapFilter(IPairList): if self._limit > 250: raise OperationalException( - "This filter only support up to rank 250." + "This filter only support limit value up to 250." ) if not self._validate_keys(self._mode): @@ -124,15 +124,6 @@ class MarketCapFilter(IPairList): tradable_only=True, active_only=True).keys()] # No point in testing for blacklisted pairs... _pairlist = self.verify_blacklist(_pairlist, logger.info) - # if not self._use_range: - # filtered_tickers = [ - # v for k, v in tickers.items() - # if (self._exchange.get_pair_quote_currency(k) == self._stake_currency - # and (self._use_range or v.get(self._sort_key) is not None) - # and v['symbol'] in _pairlist)] - # pairlist = [s['symbol'] for s in filtered_tickers] - # else: - # pairlist = _pairlist pairlist = self.filter_pairlist(_pairlist, tickers) # self._marketcap_cache['pairlist_mc'] = pairlist.copy()