mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 00:23:07 +00:00
Improve call sequence
This commit is contained in:
@@ -117,8 +117,8 @@ class Backtesting:
|
||||
raise OperationalException("Timeframe needs to be set in either "
|
||||
"configuration or as cli argument `--timeframe 5m`")
|
||||
self.timeframe = str(self.config.get('timeframe'))
|
||||
self.disable_database_use()
|
||||
self.timeframe_min = timeframe_to_minutes(self.timeframe)
|
||||
self.disable_database_use()
|
||||
self.init_backtest_detail()
|
||||
self.pairlists = PairListManager(self.exchange, self.config, self.dataprovider)
|
||||
self._validate_pairlists_for_backtesting()
|
||||
|
||||
Reference in New Issue
Block a user