From 2223c16d00a715f9e1fd1c53e2e9c4929f4065f3 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 16 Jun 2024 09:52:25 +0200 Subject: [PATCH] Load hyperparameters when calling plot_config --- freqtrade/rpc/rpc.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/freqtrade/rpc/rpc.py b/freqtrade/rpc/rpc.py index 4cafa12ad..3513b7207 100644 --- a/freqtrade/rpc/rpc.py +++ b/freqtrade/rpc/rpc.py @@ -1466,6 +1466,8 @@ class RPC: from freqtrade.resolvers.strategy_resolver import StrategyResolver strategy = StrategyResolver.load_strategy(config) + # Manually load hyperparameters, as we don't call the bot-start callback. + strategy.ft_load_hyper_params(False) if strategy.plot_config and "subplots" not in strategy.plot_config: strategy.plot_config["subplots"] = {}