From c8e24ec3de892a8104ae00c6a1a58ea4d5a44271 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Mon, 25 May 2026 18:05:22 +0200 Subject: [PATCH] feat(quickadapter): log new label_weighting fill_* tunables Mirror the existing softmax_temperature conditional-logging pattern: always log fill_method, then log fill_epsilon and fill_epsilon_baseline only under fill_method == "epsilon", and fill_sigma_candles only under fill_method == "gaussian". Keeps the per-column "Weighting:" log block consistent with the resolved config and avoids printing tunables that have no effect under the active mode. --- quickadapter/user_data/strategies/QuickAdapterV3.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/quickadapter/user_data/strategies/QuickAdapterV3.py b/quickadapter/user_data/strategies/QuickAdapterV3.py index 64b168c..1ebb0b1 100644 --- a/quickadapter/user_data/strategies/QuickAdapterV3.py +++ b/quickadapter/user_data/strategies/QuickAdapterV3.py @@ -23,6 +23,7 @@ from freqtrade.strategy import AnnotationType, stoploss_from_absolute from freqtrade.strategy.interface import IStrategy from LabelTransformer import ( COMBINED_AGGREGATIONS, + FILL_METHODS, SMOOTHING_METHODS, WEIGHT_STRATEGIES, get_label_column_config, @@ -499,6 +500,18 @@ class QuickAdapterV3(IStrategy): logger.info( f" softmax_temperature: {format_number(col_weighting['softmax_temperature'])}" ) + logger.info(f" fill_method: {col_weighting['fill_method']}") + if col_weighting["fill_method"] == FILL_METHODS[1]: # "epsilon" + logger.info( + f" fill_epsilon: {format_number(col_weighting['fill_epsilon'])}" + ) + logger.info( + f" fill_epsilon_baseline: {col_weighting['fill_epsilon_baseline']}" + ) + elif col_weighting["fill_method"] == FILL_METHODS[2]: # "gaussian" + logger.info( + f" fill_sigma_candles: {format_number(col_weighting['fill_sigma_candles'])}" + ) col_smoothing = get_label_column_config( label_col, label_smoothing["default"], label_smoothing["columns"] -- 2.53.0