mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-14 11:51:19 +00:00
fix: improve resiliance
This commit is contained in:
@@ -104,7 +104,9 @@ class HyperStrategyMixin:
|
||||
"""
|
||||
spaces = ["buy", "sell", "protection"]
|
||||
spaces += [
|
||||
s for s in self.config["spaces"] if s not in spaces and s not in HYPEROPT_BUILTIN_SPACES
|
||||
s
|
||||
for s in self.config.get("spaces", [])
|
||||
if s not in spaces and s not in HYPEROPT_BUILTIN_SPACES
|
||||
]
|
||||
|
||||
for space in spaces:
|
||||
|
||||
Reference in New Issue
Block a user