refactoring - remove unnecessary config file

This commit is contained in:
Wagner Costa Santos
2022-10-20 14:53:25 -03:00
parent 52b60c5cbb
commit 6606a0113f
6 changed files with 224 additions and 250 deletions

View File

@@ -135,8 +135,8 @@ class Backtesting:
self.precision_mode = self.exchange.precisionMode
if self.config.get('freqai_backtest_live_models', False):
from freqtrade.freqai import freqai_util
self.config['timerange'] = freqai_util.get_timerange_backtest_live_models(self.config)
from freqtrade.freqai import utils
self.config['timerange'] = utils.get_timerange_backtest_live_models(self.config)
self.timerange = TimeRange.parse_timerange(
None if self.config.get('timerange') is None else str(self.config.get('timerange')))