]> Piment Noir Git Repositories - freqai-strategies.git/commitdiff
perf(qav3): sensbile reversal confirmation defaults
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 24 Nov 2025 17:47:09 +0000 (18:47 +0100)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 24 Nov 2025 17:47:09 +0000 (18:47 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
README.md
quickadapter/user_data/strategies/QuickAdapterV3.py

index c44259b274d6a78d8b110e9382525511f06de37b..e7de678b564b1f695144ce5c4c35d4e7109a36e7 100644 (file)
--- a/README.md
+++ b/README.md
@@ -47,8 +47,8 @@ docker compose up -d --build
 | _Reversal confirmation_                              |                   |                                                                                                                                  |                                                                                                                                                                                                                                                                                     |
 | reversal_confirmation.lookback_period                | 0                 | int >= 0                                                                                                                         | Prior confirming candles; 0 = none.                                                                                                                                                                                                                                                 |
 | reversal_confirmation.decay_ratio                    | 0.5               | float (0,1]                                                                                                                      | Geometric per-candle relaxation factor.                                                                                                                                                                                                                                             |
-| reversal_confirmation.min_natr_ratio_percent         | 0.0095            | float [0,1]                                                                                                                      | Lower bound fraction for volatility adjusted reversal threshold.                                                                                                                                                                                                                    |
-| reversal_confirmation.max_natr_ratio_percent         | 0.2               | float [0,1]                                                                                                                      | Upper bound fraction (>= lower bound) for volatility adjusted reversal threshold.                                                                                                                                                                                                   |
+| reversal_confirmation.min_natr_ratio_percent         | 0.01              | float [0,1]                                                                                                                      | Lower bound fraction for volatility adjusted reversal threshold.                                                                                                                                                                                                                    |
+| reversal_confirmation.max_natr_ratio_percent         | 0.1               | float [0,1]                                                                                                                      | Upper bound fraction (>= lower bound) for volatility adjusted reversal threshold.                                                                                                                                                                                                   |
 | _Regressor model_                                    |                   |                                                                                                                                  |                                                                                                                                                                                                                                                                                     |
 | freqai.regressor                                     | `xgboost`         | enum {`xgboost`,`lightgbm`}                                                                                                      | Machine learning regressor algorithm.                                                                                                                                                                                                                                               |
 | _Extrema smoothing_                                  |                   |                                                                                                                                  |                                                                                                                                                                                                                                                                                     |
index 080065a73bdde26b803d315d9e64bbed707d39ec..fe6b7e151b9d309dfa9102562dbc8c128d620a55 100644 (file)
@@ -122,8 +122,8 @@ class QuickAdapterV3(IStrategy):
     default_reversal_confirmation: ClassVar[dict[str, int | float]] = {
         "lookback_period": 0,
         "decay_ratio": 0.5,
-        "min_natr_ratio_percent": 0.0095,
-        "max_natr_ratio_percent": 0.2,
+        "min_natr_ratio_percent": 0.01,
+        "max_natr_ratio_percent": 0.1,
     }
 
     position_adjustment_enable = True