Fix ci failure
This commit is contained in:
parent
4ab03f7e37
commit
dfc17f2bd1
@ -103,7 +103,8 @@ class Hyperopt:
|
|||||||
self.current_best_epoch: Optional[Dict[str, Any]] = None
|
self.current_best_epoch: Optional[Dict[str, Any]] = None
|
||||||
|
|
||||||
if not self.auto_hyperopt:
|
if not self.auto_hyperopt:
|
||||||
# Populate "fallback" functions here (hasattr is slow so should not be run during "regular" operations)
|
# Populate "fallback" functions here
|
||||||
|
# (hasattr is slow so should not be run during "regular" operations)
|
||||||
if hasattr(self.custom_hyperopt, 'populate_indicators'):
|
if hasattr(self.custom_hyperopt, 'populate_indicators'):
|
||||||
self.backtesting.strategy.advise_indicators = ( # type: ignore
|
self.backtesting.strategy.advise_indicators = ( # type: ignore
|
||||||
self.custom_hyperopt.populate_indicators) # type: ignore
|
self.custom_hyperopt.populate_indicators) # type: ignore
|
||||||
|
Loading…
Reference in New Issue
Block a user