From cc129a1d325c6a6efcd1022114430c1a631466d3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Fri, 6 Jun 2025 00:47:35 +0200 Subject: [PATCH] perf(qav3): tune pivot labeling momentum confirmation MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .../user_data/freqaimodels/QuickAdapterRegressorV3.py | 4 ++-- quickadapter/user_data/strategies/Utils.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/quickadapter/user_data/freqaimodels/QuickAdapterRegressorV3.py b/quickadapter/user_data/freqaimodels/QuickAdapterRegressorV3.py index 930b889..f09b1ac 100644 --- a/quickadapter/user_data/freqaimodels/QuickAdapterRegressorV3.py +++ b/quickadapter/user_data/freqaimodels/QuickAdapterRegressorV3.py @@ -1195,8 +1195,8 @@ def zigzag( def calculate_min_slope_strength( pos: int, - min_strength: float = 0.5, - max_strength: float = 1.5, + min_strength: float = 0.4, + max_strength: float = 1.8, volatility_exponent: float = 1.5, ) -> float: volatility_quantile = calculate_volatility_quantile(pos) diff --git a/quickadapter/user_data/strategies/Utils.py b/quickadapter/user_data/strategies/Utils.py index cee1b45..8cb082d 100644 --- a/quickadapter/user_data/strategies/Utils.py +++ b/quickadapter/user_data/strategies/Utils.py @@ -461,8 +461,8 @@ def zigzag( def calculate_min_slope_strength( pos: int, - min_strength: float = 0.5, - max_strength: float = 1.5, + min_strength: float = 0.4, + max_strength: float = 1.8, volatility_exponent: float = 1.5, ) -> float: volatility_quantile = calculate_volatility_quantile(pos) -- 2.43.0