From 7543c50a7b43f511c56ddbe3b4c171be460d22e9 Mon Sep 17 00:00:00 2001 From: cardosofede Date: Tue, 5 Dec 2023 09:54:26 -0300 Subject: [PATCH] (feat) add correct path for config encoder decoder --- utils/file_templates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/file_templates.py b/utils/file_templates.py index 67cb4982..3ad48a8b 100644 --- a/utils/file_templates.py +++ b/utils/file_templates.py @@ -102,7 +102,7 @@ def strategy_optimization_template(strategy_info: dict): from hummingbot.data_feed.candles_feed.candles_factory import CandlesConfig from hummingbot.smart_components.strategy_frameworks.data_types import TripleBarrierConf, OrderLevel from hummingbot.smart_components.strategy_frameworks.directional_trading import DirectionalTradingBacktestingEngine -from hummingbot.smart_components.utils import ConfigEncoderDecoder +from hummingbot.smart_components.utils.config_encoder_decoder import ConfigEncoderDecoder from optuna import TrialPruned from quants_lab.controllers.{strategy_module} import {strategy_cls.__name__}, {strategy_config.__name__}