fix test failure
This commit is contained in:
parent
0a595190a3
commit
0007002c80
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user