Don't use internal _API methods

This commit is contained in:
Matthias 2019-08-16 15:27:59 +02:00
parent 219d0b7fb0
commit 89257832d7

View File

@ -68,7 +68,7 @@ def start_download_data(args: Namespace) -> None:
exchange = ExchangeResolver(config['exchange']['name'], config).exchange
for pair in config["pairs"]:
if pair not in exchange._api.markets:
if pair not in exchange.markets:
pairs_not_available.append(pair)
logger.info(f"Skipping pair {pair}...")
continue