add logger

This commit is contained in:
Stefano Ariestasia 2024-01-08 00:20:09 +09:00
parent bb684dd613
commit 35467619c4

View File

@ -170,8 +170,11 @@ class MarketCapFilter(IPairList):
# option B
for mc_pair in marketcap_list:
test_pair = f"{mc_pair.upper()}/{self._stake_currency.upper}"
logger.info(f"Check test pair name {test_pair}")
if test_pair in pairlist:
logger.info(f"{test_pair} is in pairlist")
filtered_pairlist.append(test_pair)
logger.info(f"{len(filtered_pairlist)} pairs in filtered pairlist")
if len(filtered_pairlist) == self._max_rank:
break