Adjust test to pathlib

This commit is contained in:
Matthias
2018-12-15 14:10:45 +01:00
parent 21aba1620c
commit 6c02cc5993
5 changed files with 11 additions and 10 deletions

View File

@@ -100,7 +100,7 @@ class Edge():
logger.info('Using local backtesting data (using whitelist in given config) ...')
data = history.load_data(
Path(self.config.get('datadir')) if self.config.get('datadir') else None,
Path(self.config['datadir']) if self.config.get('datadir') else None,
pairs=pairs,
ticker_interval=self.ticker_interval,
refresh_pairs=self._refresh_pairs,