Validate startup candles for backtesting correctly

closes #5250
This commit is contained in:
Matthias 2021-07-09 07:19:44 +02:00
parent fb25130588
commit 2f33b97b95

View File

@ -116,6 +116,7 @@ class Backtesting:
# Get maximum required startup period # Get maximum required startup period
self.required_startup = max([strat.startup_candle_count for strat in self.strategylist]) self.required_startup = max([strat.startup_candle_count for strat in self.strategylist])
self.exchange.validate_required_startup_candles(self.required_startup, self.timeframe)
def __del__(self): def __del__(self):
LoggingMixin.show_output = True LoggingMixin.show_output = True