From e050ea8dfa671fd15cc6a124734ad1dfc9b3f82d Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 25 Apr 2021 15:33:03 +0200 Subject: [PATCH] Don't load parameters for other space --- freqtrade/strategy/hyper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/strategy/hyper.py b/freqtrade/strategy/hyper.py index 32486136d..1848730dd 100644 --- a/freqtrade/strategy/hyper.py +++ b/freqtrade/strategy/hyper.py @@ -284,7 +284,7 @@ class HyperStrategyMixin(object): if not params: logger.info(f"No params for {space} found, using default values.") - for attr_name, attr in self.enumerate_parameters(): + for attr_name, attr in self.enumerate_parameters(space): attr.hyperopt = hyperopt if params and attr_name in params: if attr.load: