From 39c37980d529a91ae48f62ad6535688bd4e464c8 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 2 Nov 2025 10:45:28 +0100 Subject: [PATCH] fix: improve resiliance --- freqtrade/strategy/hyper.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/freqtrade/strategy/hyper.py b/freqtrade/strategy/hyper.py index 3f590d935..15c49c4c3 100644 --- a/freqtrade/strategy/hyper.py +++ b/freqtrade/strategy/hyper.py @@ -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: