From 2c81d47b2bd2ac48c2f07b4586c568d309c8f1e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=96=87=E8=96=87=E5=AE=89?= Date: Thu, 12 Feb 2026 21:04:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=94=BE=E5=AE=BD=E9=99=90?= =?UTF-8?q?=E5=88=B6=E4=B8=8B=E5=8D=95=E7=AD=96=E7=95=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/GlobalConfig.jsx | 27 +++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/GlobalConfig.jsx b/frontend/src/components/GlobalConfig.jsx index 0d939cd..ccd06fb 100644 --- a/frontend/src/components/GlobalConfig.jsx +++ b/frontend/src/components/GlobalConfig.jsx @@ -416,6 +416,26 @@ const GlobalConfig = () => { MAX_TREND_MOVE_BEFORE_ENTRY: 0.05, }, }, + more_opportunities: { + name: '增加机会(放宽过滤)', + desc: '放宽过滤条件以增加下单机会:允许 4H 中性、大盘共振阈值放宽到 -1%、做多 RSI≤70、做空 RSI≥25。适合想要更多交易机会时使用。', + configs: { + AUTO_TRADE_ALLOW_4H_NEUTRAL: true, // 允许 4H 中性,增加机会 + BETA_FILTER_THRESHOLD: -0.01, // 大盘共振阈值放宽到 -1%(从 -0.5% 放宽) + MAX_RSI_FOR_LONG: 70, // 做多 RSI 上限放宽到 70(从 65) + MIN_RSI_FOR_SHORT: 25, // 做空 RSI 下限放宽到 25(从 30),允许更多做空机会 + ATR_STOP_LOSS_MULTIPLIER: 3.0, + RISK_REWARD_RATIO: 3.0, + TAKE_PROFIT_1_PERCENT: 0.2, + TAKE_PROFIT_PERCENT: 0.30, + MIN_RR_FOR_TP1: 1.5, + SYMBOL_LOSS_COOLDOWN_ENABLED: true, + SYMBOL_MAX_CONSECUTIVE_LOSSES: 2, + SYMBOL_LOSS_COOLDOWN_SEC: 3600, + BETA_FILTER_ENABLED: true, // 保持开启但放宽阈值 + MIN_SIGNAL_STRENGTH: 8, + }, + }, profit_scale: { name: '盈利放大(适度激进)', desc: '在推荐策略基础上:仓位放大 1.25 倍、单笔上限 10%、每笔风险 2.5%、最多 5 仓。盈利阶段可一键放大收益,仍受单笔上限约束。', @@ -1008,19 +1028,20 @@ const GlobalConfig = () => { const presetUiMeta = { altcoin: { group: 'altcoin', tag: '当前推荐' }, + more_opportunities: { group: 'altcoin', tag: '增加机会' }, profit_scale: { group: 'altcoin', tag: '盈利放大' }, swing: { group: 'backup', tag: '纯限价' }, strict: { group: 'backup', tag: '精选低频' }, conservative: { group: 'backup', tag: '保守' }, } - // 快速方案:当前推荐(含盈利放大)+ 备选 + // 快速方案:当前推荐(含增加机会/盈利放大)+ 备选 const presetGroups = [ { key: 'altcoin', title: '当前推荐 · 山寨币策略', - desc: '与当前策略一致。盈利阶段想扩大收益可点「盈利放大」:仓位 1.25 倍、单笔上限 10%、最多 5 仓。', - presetKeys: ['altcoin', 'profit_scale'], + desc: '与当前策略一致。想增加下单机会可点「增加机会」:允许 4H 中性、放宽大盘/RSI 过滤。盈利阶段想放大收益可点「盈利放大」。', + presetKeys: ['altcoin', 'more_opportunities', 'profit_scale'], }, { key: 'backup',