mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Load hyperparameters when calling plot_config
This commit is contained in:
parent
e11295a042
commit
2223c16d00
|
@ -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"] = {}
|
||||
|
|
Loading…
Reference in New Issue
Block a user