Use variable instead of config for startup_candle_count

This commit is contained in:
Matthias 2023-12-11 19:42:13 +01:00
parent 6c259ddca1
commit db7799d2fb

View File

@ -239,7 +239,7 @@ class Backtesting:
if self.config.get('freqai', {}).get('enabled', False):
startup_candle_count = self.freqai_startup_candles
else:
startup_candle_count = self.config['startup_candle_count']
startup_candle_count = self.required_startup
data = history.load_data(
datadir=self.config['datadir'],