mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Use variable instead of config for startup_candle_count
This commit is contained in:
parent
6c259ddca1
commit
db7799d2fb
|
@ -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'],
|
||||
|
|
Loading…
Reference in New Issue
Block a user