backtesting._get_ohlcv_as_lists changed candle_type to candle_type_def
This commit is contained in:
parent
1f74cfe841
commit
edc0e9c75f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user