From: Jérôme Benoit Date: Fri, 6 Jun 2025 11:03:33 +0000 (+0200) Subject: perf(qav3): tune pivots labeling X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=c759204517d9030392f6e4a8c8b868caae8ef741;p=freqai-strategies.git perf(qav3): tune pivots labeling Signed-off-by: Jérôme Benoit --- diff --git a/quickadapter/user_data/freqaimodels/QuickAdapterRegressorV3.py b/quickadapter/user_data/freqaimodels/QuickAdapterRegressorV3.py index c95519d..5b0695e 100644 --- a/quickadapter/user_data/freqaimodels/QuickAdapterRegressorV3.py +++ b/quickadapter/user_data/freqaimodels/QuickAdapterRegressorV3.py @@ -1196,7 +1196,7 @@ def zigzag( def calculate_min_slope_strength( pos: int, min_strength: float = 0.5, - max_strength: float = 1.7, + max_strength: float = 1.6, 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 28b2afa..7ca2181 100644 --- a/quickadapter/user_data/strategies/Utils.py +++ b/quickadapter/user_data/strategies/Utils.py @@ -462,7 +462,7 @@ def zigzag( def calculate_min_slope_strength( pos: int, min_strength: float = 0.5, - max_strength: float = 1.7, + max_strength: float = 1.6, volatility_exponent: float = 1.5, ) -> float: volatility_quantile = calculate_volatility_quantile(pos)