Don't use internal _API methods
This commit is contained in:
parent
219d0b7fb0
commit
89257832d7
@ -68,7 +68,7 @@ def start_download_data(args: Namespace) -> None:
|
|||||||
exchange = ExchangeResolver(config['exchange']['name'], config).exchange
|
exchange = ExchangeResolver(config['exchange']['name'], config).exchange
|
||||||
|
|
||||||
for pair in config["pairs"]:
|
for pair in config["pairs"]:
|
||||||
if pair not in exchange._api.markets:
|
if pair not in exchange.markets:
|
||||||
pairs_not_available.append(pair)
|
pairs_not_available.append(pair)
|
||||||
logger.info(f"Skipping pair {pair}...")
|
logger.info(f"Skipping pair {pair}...")
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user