]> Piment Noir Git Repositories - freqai-strategies.git/commitdiff
perf(qav3): fine tune pivot labeling confirmation
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 19 May 2025 18:13:16 +0000 (20:13 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 19 May 2025 18:13:16 +0000 (20:13 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
quickadapter/user_data/freqaimodels/QuickAdapterRegressorV3.py
quickadapter/user_data/strategies/QuickAdapterV3.py
quickadapter/user_data/strategies/Utils.py

index 90d0e4df087c486985e9dce6c2174c113196c467..4bcdfa84f52b1029d750046e54de9d266c2f9c0a 100644 (file)
@@ -45,7 +45,7 @@ class QuickAdapterRegressorV3(BaseRegressionModel):
     https://github.com/sponsors/robcaulk
     """
 
-    version = "3.7.46"
+    version = "3.7.47"
 
     @cached_property
     def _optuna_config(self) -> dict:
@@ -930,7 +930,7 @@ def zigzag(
     def calculate_min_slope_strength(
         pos: int,
         min_strength: float = 1.0,
-        max_strength: float = 2.0,
+        max_strength: float = 1.5,
     ) -> float:
         start = max(0, pos - natr_period)
         end = min(pos + 1, n)
index 17ad374d4d1b1b1ca9735b402bd4fa50fd4f0e6b..f9f8a0446cbb860ccedfde9ae937557658047a3c 100644 (file)
@@ -58,7 +58,7 @@ class QuickAdapterV3(IStrategy):
     INTERFACE_VERSION = 3
 
     def version(self) -> str:
-        return "3.3.44"
+        return "3.3.45"
 
     timeframe = "5m"
 
index 68e67046555a04d1a7500f4c376d7a40bd1295a0..c78be4521e5513b42011605f74cd28d180725552 100644 (file)
@@ -427,7 +427,7 @@ def zigzag(
     def calculate_min_slope_strength(
         pos: int,
         min_strength: float = 1.0,
-        max_strength: float = 2.0,
+        max_strength: float = 1.5,
     ) -> float:
         start = max(0, pos - natr_period)
         end = min(pos + 1, n)