Fix test crash

This commit is contained in:
Matthias 2018-07-09 22:11:12 +02:00
parent 570d27a0c4
commit 85c60519b0

View File

@ -70,8 +70,9 @@ class Exchange(object):
# Check if all pairs are available # Check if all pairs are available
self.validate_pairs(config['exchange']['pair_whitelist']) self.validate_pairs(config['exchange']['pair_whitelist'])
# Check if timeframe is available if config.get('ticker_interval'):
self.validate_timeframes(config['ticker_interval']) # Check if timeframe is available
self.validate_timeframes(config['ticker_interval'])
def _init_ccxt(self, exchange_config: dict) -> ccxt.Exchange: def _init_ccxt(self, exchange_config: dict) -> ccxt.Exchange:
""" """