diff --git a/freqtrade/optimize/backtesting.py b/freqtrade/optimize/backtesting.py index aa3fa4a8a..08b84f376 100644 --- a/freqtrade/optimize/backtesting.py +++ b/freqtrade/optimize/backtesting.py @@ -337,7 +337,7 @@ class Backtesting: pair, self.timeframe, df_analyzed, - CandleType.FUTURES if self.trading_mode == TradingMode.FUTURES else CandleType.SPOT + self.config['candle_type_def'] ) df_analyzed = df_analyzed.drop(df_analyzed.head(1).index)