update log messages

This commit is contained in:
iuvbio 2019-03-17 18:18:35 +01:00
parent 8386496456
commit 4de4a70be7

View File

@ -71,13 +71,15 @@ class IPairList(ABC):
# pair is not in the generated dynamic market, or in the blacklist ... ignore it # pair is not in the generated dynamic market, or in the blacklist ... ignore it
if (pair in self.blacklist or pair not in markets if (pair in self.blacklist or pair not in markets
or not pair.endswith(self._config['stake_currency'])): or not pair.endswith(self._config['stake_currency'])):
logger.warning(f"Pair {pair} is not compatible with exchange "
f"{self._freqtrade.exchange.name} or contained in "
f"your blacklist. Removing it from whitelist..")
continue continue
# Check if market is active # Check if market is active
market = markets[pair] market = markets[pair]
if not market['active']: if not market['active']:
logger.info( logger.info(
'Ignoring %s from whitelist. Market is not active.', f"Ignoring {pair} from whitelist. Market is not active."
pair
) )
continue continue
sanitized_whitelist.add(pair) sanitized_whitelist.add(pair)