Fix hyperopt for futures

This commit is contained in:
Matthias 2022-03-02 19:50:16 +01:00
parent c5cf73e67b
commit eb30c40e0c

View File

@ -396,6 +396,7 @@ class Hyperopt:
def prepare_hyperopt_data(self) -> None: def prepare_hyperopt_data(self) -> None:
data, timerange = self.backtesting.load_bt_data() data, timerange = self.backtesting.load_bt_data()
self.backtesting.load_bt_data_detail()
logger.info("Dataload complete. Calculating indicators") logger.info("Dataload complete. Calculating indicators")
preprocessed = self.backtesting.strategy.advise_all_indicators(data) preprocessed = self.backtesting.strategy.advise_all_indicators(data)