From 19954a7ef8613e5c905965928d8c7a4b610284cc Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sat, 1 Nov 2025 15:34:15 +0100 Subject: [PATCH] fix(qav3): do not enforce freqtrade order_types defaults MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- README.md | 2 +- .../user_data/strategies/QuickAdapterV3.py | 14 +------------- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index f907d49..be9a4de 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ docker compose up -d --build | 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.0099 | float [0,1] | Lower bound fraction for volatility adjusted reversal threshold. | -| reversal_confirmation.max_natr_ratio_percent | 0.4 | float [0,1] | Upper bound fraction (>= lower bound) for volatility adjusted reversal threshold. | +| reversal_confirmation.max_natr_ratio_percent | 0.33 | 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_ | | | | diff --git a/quickadapter/user_data/strategies/QuickAdapterV3.py b/quickadapter/user_data/strategies/QuickAdapterV3.py index 7696627..8f89481 100644 --- a/quickadapter/user_data/strategies/QuickAdapterV3.py +++ b/quickadapter/user_data/strategies/QuickAdapterV3.py @@ -76,18 +76,6 @@ class QuickAdapterV3(IStrategy): stoploss = -0.02 use_custom_stoploss = True - order_types = { - "entry": "limit", - "exit": "limit", - "emergency_exit": "limit", - "force_exit": "limit", - "force_entry": "limit", - "stoploss": "limit", - "stoploss_on_exchange": False, - "stoploss_on_exchange_interval": 60, - "stoploss_on_exchange_limit_ratio": 0.99, - } - default_exit_thresholds: dict[str, float] = { "k_decl_v": 0.6, "k_decl_a": 0.4, @@ -101,7 +89,7 @@ class QuickAdapterV3(IStrategy): "lookback_period": 0, "decay_ratio": 0.5, "min_natr_ratio_percent": 0.0099, - "max_natr_ratio_percent": 0.4, + "max_natr_ratio_percent": 0.33, } position_adjustment_enable = True -- 2.43.0