From e40480d39abaf15befc5be90218fdbf6bf0eeaee Mon Sep 17 00:00:00 2001 From: "zhangkun9038@dingtalk.com" Date: Mon, 8 Sep 2025 21:37:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=82=E6=95=B0=E5=A4=AA=E5=A4=9A=E7=A9=BA?= =?UTF-8?q?=E9=97=B4=E5=A4=AA=E5=8F=91=E6=95=A3,=20hyperopt=E4=BC=98?= =?UTF-8?q?=E5=8C=96=20-e=20200=20=E5=B9=B6=E6=B2=A1=E6=9C=89=E5=8F=91?= =?UTF-8?q?=E6=8E=98=E5=87=BA=E6=BD=9C=E5=8A=9B,=20=E4=BB=A5=E5=90=8E?= =?UTF-8?q?=E6=9C=89=E7=A9=BA=E5=86=8D=E6=B7=B1=E6=8C=96,=200501-0901=20?= =?UTF-8?q?=E8=BE=BE=E5=88=B02470,=20=E5=88=86=E5=B8=83=E5=88=86=E6=95=A3?= =?UTF-8?q?=E6=80=A7=E4=B8=80=E8=88=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- freqtrade/templates/freqaiprimer.json | 37 +++++++++++++++------------ tools/hyperopt.sh | 4 +-- 2 files changed, 22 insertions(+), 19 deletions(-) diff --git a/freqtrade/templates/freqaiprimer.json b/freqtrade/templates/freqaiprimer.json index 63b52c48..161ddc1c 100644 --- a/freqtrade/templates/freqaiprimer.json +++ b/freqtrade/templates/freqaiprimer.json @@ -15,25 +15,28 @@ "max_open_trades": 5 }, "buy": { - "bb_length": 17, - "bb_lower_deviation": 1.04, - "bb_std": 1.8, - "bb_width_threshold": 0.012, - "h1_max_candles": 108, - "h1_max_consecutive_candles": 2, - "h1_rapid_rise_threshold": 0.109, - "min_condition_count": 2, - "rsi_bull_threshold": 46, - "rsi_length": 19, - "rsi_overbought": 60, - "rsi_oversold": 49, - "stochrsi_bull_threshold": 37, - "stochrsi_neutral_threshold": 23, - "volume_multiplier": 1.5 + "bb_length": 22, + "bb_lower_deviation": 1.05, + "bb_std": 1.6, + "bb_width_threshold": 0.017, + "h1_max_candles": 239, + "h1_max_consecutive_candles": 1, + "h1_rapid_rise_threshold": 0.054, + "min_condition_count": 3, + "rsi_bull_threshold": 48, + "rsi_length": 9, + "rsi_oversold": 50, + "stochrsi_bull_threshold": 38, + "stochrsi_neutral_threshold": 27, + "volume_multiplier": 1.8 + }, + "sell": { + "exit_bb_upper_deviation": 0.99, + "exit_volume_multiplier": 2.6, + "rsi_overbought": 67 }, - "sell": {}, "protection": {} }, "ft_stratparam_v": 1, - "export_time": "2025-09-08 03:00:52.051003+00:00" + "export_time": "2025-09-08 10:59:05.144144+00:00" } \ No newline at end of file diff --git a/tools/hyperopt.sh b/tools/hyperopt.sh index 87c274f6..6e252f80 100755 --- a/tools/hyperopt.sh +++ b/tools/hyperopt.sh @@ -243,8 +243,8 @@ docker-compose run --rm freqtrade hyperopt $PAIRS_FLAG \ --enable-protections \ --strategy-path /freqtrade/templates \ --timerange ${START_DATE}-${END_DATE} \ - -e 100 \ - -j 2 \ + -e 200 \ + -j 3 \ --hyperopt-loss SharpeHyperOptLossDaily \ --spaces buy sell \ --fee 0.0016