fix test failure

This commit is contained in:
xmatthias 2018-06-02 14:07:54 +02:00
parent 0a595190a3
commit 0007002c80

View File

@ -218,7 +218,8 @@ class Backtesting(object):
else:
logger.info('Using local backtesting data (using whitelist in given config) ...')
timerange = Arguments.parse_timerange(str(self.config.get('timerange')))
timerange = Arguments.parse_timerange(None if self.config.get(
'timerange') is None else str(self.config.get('timerange')))
data = optimize.load_data( # type: ignore
self.config['datadir'],
pairs=pairs,