convert exportfilename to Path when config parsing

This commit is contained in:
Matthias
2020-03-15 09:39:45 +01:00
parent 5d1b1573b7
commit 0f1640bed4
6 changed files with 15 additions and 8 deletions

View File

@@ -421,7 +421,7 @@ class Backtesting:
for strategy, results in all_results.items():
if self.config.get('export', False):
self._store_backtest_result(Path(self.config['exportfilename']), results,
self._store_backtest_result(self.config['exportfilename'], results,
strategy if len(self.strategylist) > 1 else None)
print(f"Result for strategy {strategy}")