策略质量过滤:信义光能不应被推荐

修复:stale_push_wlin 没有检查 timing_signal 和 sector_context

信义光能(00968)被推荐的原因:
  timing_signal='行业偏弱'  sector='房地产开发大跌-294%'
  RR=7.2看起来很高,但趋势完全空头且行业崩塌
  → 原代码只查RR>=3+价格在买入区,没查信号质量

新增两条过滤:
1. timing_signal含[偏弱/弱势/观望/卖出/回避] → 跳过
2. sector_context含'大跌' → 跳过(行业崩时不推荐)

实测:加过滤前7只,加后1只(仅药明康德)
This commit is contained in:
知微
2026-06-24 14:40:31 +08:00
parent 8f830b8de2
commit 4ab95ecbcb
4 changed files with 75 additions and 75 deletions
+56 -56
View File
@@ -352,17 +352,17 @@
{
"code": "002594",
"name": "比亚迪",
"price": 83.44,
"price": 83.38,
"cost": 0,
"shares": 0,
"avg_price": 0,
"action": "盈利持有 | 目标92.76 | 止损80.94 | 买入区81.77~85.11 | 信号:观望",
"stop_loss": 80.94,
"entry_low": 81.77,
"entry_high": 85.11,
"tech_snapshot": "形态:带下影阴线/neutral 量价:主动卖盘占优 强撑:76.5 弱撑:82.58 弱压:85.0 强压:92.76",
"action": "盈利持有 | 目标92.74 | 止损80.88 | 买入区81.71~85.05 | 信号:观望",
"stop_loss": 80.88,
"entry_low": 81.71,
"entry_high": 85.05,
"tech_snapshot": "形态:带下影阴线/neutral 量价:主动卖盘占优 强撑:76.5 弱撑:82.54 弱压:85.0 强压:92.74",
"timing_signal": "观望",
"rr_ratio": 3.73,
"rr_ratio": 3.74,
"status": "updated",
"note": "",
"timestamp": "2026-06-24 14:23",
@@ -374,7 +374,7 @@
"position_advice": "减仓或观望",
"time_horizon": "观望",
"created_at": "2026-06-24 14:23",
"take_profit": 92.76,
"take_profit": 92.74,
"changelog": [
{
"date": "2026-06-24 14:23",
@@ -389,7 +389,7 @@
{
"id": "002594_stop_loss",
"condition": {
"price": "<80.94"
"price": "<80.88"
},
"action": {
"type": "sell",
@@ -406,13 +406,13 @@
"id": "002594_buy_dip",
"condition": {
"scenario": "weak_consolidation",
"price": "<=85.11",
"price_lower": ">=81.77"
"price": "<=85.05",
"price_lower": ">=81.71"
},
"action": {
"type": "buy",
"amount": "normal",
"limit": 81.77,
"limit": 81.71,
"reason": "回调支撑买入"
},
"priority": 1,
@@ -425,7 +425,7 @@
"id": "002594_breakout_chase",
"condition": {
"scenario": "bullish_recovery",
"price": ">=92.76"
"price": ">=92.74"
},
"action": {
"type": "buy",
@@ -459,7 +459,7 @@
{
"id": "002594_take_profit",
"condition": {
"price": ">=92.76"
"price": ">=92.74"
},
"action": {
"type": "sell",
@@ -3294,17 +3294,17 @@
{
"code": "300124",
"name": "汇川技术",
"price": 66.53,
"price": 66.47,
"cost": 0,
"shares": 0,
"avg_price": 0,
"action": "盈利持有 | 目标73.2 | 止损64.53 | 买入区65.2~67.86 | 信号:观望",
"stop_loss": 64.53,
"entry_low": 65.2,
"entry_high": 67.86,
"tech_snapshot": "形态:长影星线/neutral 量价:主动卖盘占优 强撑:59.96 弱撑:65.68 弱压:67.43 强压:73.2",
"action": "盈利持有 | 目标73.19 | 止损64.48 | 买入区65.14~67.8 | 信号:观望",
"stop_loss": 64.48,
"entry_low": 65.14,
"entry_high": 67.8,
"tech_snapshot": "形态:长影星线/neutral 量价:主动卖盘占优 强撑:59.95 弱撑:65.64 弱压:67.39 强压:73.19",
"timing_signal": "观望",
"rr_ratio": 3.34,
"rr_ratio": 3.38,
"status": "updated",
"note": "",
"timestamp": "2026-06-24 14:24",
@@ -3316,7 +3316,7 @@
"position_advice": "减仓或观望",
"time_horizon": "观望",
"created_at": "2026-06-24 14:24",
"take_profit": 73.2,
"take_profit": 73.19,
"changelog": [
{
"date": "2026-06-24 14:24",
@@ -3331,7 +3331,7 @@
{
"id": "300124_stop_loss",
"condition": {
"price": "<64.53"
"price": "<64.48"
},
"action": {
"type": "sell",
@@ -3348,13 +3348,13 @@
"id": "300124_buy_dip",
"condition": {
"scenario": "weak_consolidation",
"price": "<=67.86",
"price_lower": ">=65.2"
"price": "<=67.8",
"price_lower": ">=65.14"
},
"action": {
"type": "buy",
"amount": "normal",
"limit": 65.2,
"limit": 65.14,
"reason": "回调支撑买入"
},
"priority": 1,
@@ -3367,7 +3367,7 @@
"id": "300124_breakout_chase",
"condition": {
"scenario": "bullish_recovery",
"price": ">=73.2"
"price": ">=73.19"
},
"action": {
"type": "buy",
@@ -3401,7 +3401,7 @@
{
"id": "300124_take_profit",
"condition": {
"price": ">=73.2"
"price": ">=73.19"
},
"action": {
"type": "sell",
@@ -4093,17 +4093,17 @@
{
"code": "601318",
"name": "中国平安",
"price": 49.12,
"price": 49.09,
"cost": 0,
"shares": 0,
"avg_price": 0,
"action": "盈利持有 | 目标53.61 | 止损47.65 | 买入区48.14~50.03 | 信号:观望",
"stop_loss": 47.65,
"entry_low": 48.14,
"entry_high": 50.03,
"tech_snapshot": "形态:光头光脚阴线/bearish 量价:主动卖盘占优 强撑:45.75 弱撑:48.47 弱压:50.4 强压:53.61",
"action": "盈利持有 | 目标53.59 | 止损47.62 | 买入区48.11~50.01 | 信号:观望",
"stop_loss": 47.62,
"entry_low": 48.11,
"entry_high": 50.01,
"tech_snapshot": "形态:光头光脚阴线/bearish 量价:主动卖盘占优 强撑:45.74 弱撑:48.45 弱压:50.4 强压:53.59",
"timing_signal": "观望",
"rr_ratio": 3.05,
"rr_ratio": 3.06,
"status": "updated",
"note": "",
"timestamp": "2026-06-24 14:24",
@@ -4115,7 +4115,7 @@
"position_advice": "减仓或观望",
"time_horizon": "观望",
"created_at": "2026-06-24 14:24",
"take_profit": 53.61,
"take_profit": 53.59,
"changelog": [
{
"date": "2026-06-24 14:24",
@@ -4130,7 +4130,7 @@
{
"id": "601318_stop_loss",
"condition": {
"price": "<47.65"
"price": "<47.62"
},
"action": {
"type": "sell",
@@ -4147,13 +4147,13 @@
"id": "601318_buy_dip",
"condition": {
"scenario": "weak_consolidation",
"price": "<=50.03",
"price_lower": ">=48.14"
"price": "<=50.01",
"price_lower": ">=48.11"
},
"action": {
"type": "buy",
"amount": "normal",
"limit": 48.14,
"limit": 48.11,
"reason": "回调支撑买入"
},
"priority": 1,
@@ -4166,7 +4166,7 @@
"id": "601318_breakout_chase",
"condition": {
"scenario": "bullish_recovery",
"price": ">=53.61"
"price": ">=53.59"
},
"action": {
"type": "buy",
@@ -4200,7 +4200,7 @@
{
"id": "601318_take_profit",
"condition": {
"price": ">=53.61"
"price": ">=53.59"
},
"action": {
"type": "sell",
@@ -4808,15 +4808,15 @@
{
"code": "688795",
"name": "摩尔线程-U",
"price": 704.0,
"price": 704.14,
"cost": 0,
"shares": 0,
"avg_price": 0,
"action": "盈利持有 | 目标831.51 | 止损676.14 | 买入区689.92~718.08 | 信号:观望",
"stop_loss": 676.14,
"entry_low": 689.92,
"entry_high": 718.08,
"tech_snapshot": "形态:锤子线/T字线/neutral 量价:主动卖盘占优 强撑:563.22 弱撑:676.14 弱压:724.72 强压:831.51",
"action": "盈利持有 | 目标831.6 | 止损676.33 | 买入区690.06~718.22 | 信号:观望",
"stop_loss": 676.33,
"entry_low": 690.06,
"entry_high": 718.22,
"tech_snapshot": "形态:锤子线/T字线/neutral 量价:主动卖盘占优 强撑:563.22 弱撑:676.33 弱压:724.91 强压:831.6",
"timing_signal": "观望",
"rr_ratio": 4.58,
"status": "updated",
@@ -4830,7 +4830,7 @@
"position_advice": "正常配置",
"time_horizon": "数月~1年",
"created_at": "2026-06-24 14:24",
"take_profit": 831.51,
"take_profit": 831.6,
"changelog": [
{
"date": "2026-06-24 14:24",
@@ -4845,7 +4845,7 @@
{
"id": "688795_stop_loss",
"condition": {
"price": "<676.14"
"price": "<676.33"
},
"action": {
"type": "sell",
@@ -4862,13 +4862,13 @@
"id": "688795_buy_dip",
"condition": {
"scenario": "weak_consolidation",
"price": "<=718.08",
"price_lower": ">=689.92"
"price": "<=718.22",
"price_lower": ">=690.06"
},
"action": {
"type": "buy",
"amount": "normal",
"limit": 689.92,
"limit": 690.06,
"reason": "回调支撑买入"
},
"priority": 1,
@@ -4881,7 +4881,7 @@
"id": "688795_breakout_chase",
"condition": {
"scenario": "bullish_recovery",
"price": ">=831.51"
"price": ">=831.6"
},
"action": {
"type": "buy",
@@ -4915,7 +4915,7 @@
{
"id": "688795_take_profit",
"condition": {
"price": ">=831.51"
"price": ">=831.6"
},
"action": {
"type": "sell",
@@ -5131,5 +5131,5 @@
}
],
"total": 39,
"regenerated_at": "2026-06-24 14:37"
"regenerated_at": "2026-06-24 14:40"
}
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+19 -19
View File
@@ -108,7 +108,7 @@
"date": "2026-06-24",
"high": 88.32,
"low": 82.78,
"close": 83.44
"close": 83.38
}
],
"00700": [
@@ -164,7 +164,7 @@
"date": "2026-06-24",
"high": 439.8,
"low": 412.6,
"close": 428.2
"close": 429.4
}
],
"000700": [
@@ -220,7 +220,7 @@
"date": "2026-06-24",
"high": 15.6,
"low": 14.3,
"close": 14.56
"close": 14.5
}
],
"001309": [
@@ -276,7 +276,7 @@
"date": "2026-06-24",
"high": 816.88,
"low": 706.0,
"close": 808.46
"close": 803.99
}
],
"00968": [
@@ -332,7 +332,7 @@
"date": "2026-06-24",
"high": 2.26,
"low": 1.93,
"close": 2.01
"close": 1.99
}
],
"00981": [
@@ -388,7 +388,7 @@
"date": "2026-06-24",
"high": 86.45,
"low": 76.5,
"close": 84.45
"close": 84.6
}
],
"01070": [
@@ -444,7 +444,7 @@
"date": "2026-06-24",
"high": 13.47,
"low": 12.55,
"close": 13.04
"close": 13.12
}
],
"01088": [
@@ -500,7 +500,7 @@
"date": "2026-06-24",
"high": 43.14,
"low": 41.26,
"close": 41.94
"close": 41.86
}
],
"01211": [
@@ -556,7 +556,7 @@
"date": "2026-06-24",
"high": 78.3,
"low": 74.2,
"close": 75.9
"close": 76.1
}
],
"01478": [
@@ -612,7 +612,7 @@
"date": "2026-06-24",
"high": 8.54,
"low": 7.51,
"close": 7.71
"close": 7.7
}
],
"01888": [
@@ -668,7 +668,7 @@
"date": "2026-06-24",
"high": 97.4,
"low": 83.7,
"close": 94.45
"close": 94.6
}
],
"02202": [
@@ -780,7 +780,7 @@
"date": "2026-06-24",
"high": 55.5,
"low": 52.3,
"close": 52.8
"close": 52.7
}
],
"02359": [
@@ -836,7 +836,7 @@
"date": "2026-06-24",
"high": 145.0,
"low": 130.0,
"close": 142.5
"close": 142.8
}
],
"02388": [
@@ -948,7 +948,7 @@
"date": "2026-06-24",
"high": 30.56,
"low": 28.06,
"close": 28.34
"close": 28.36
}
],
"06160": [
@@ -1284,7 +1284,7 @@
"date": "2026-06-24",
"high": 68.8,
"low": 65.74,
"close": 66.52
"close": 66.47
}
],
"300548": [
@@ -2316,7 +2316,7 @@
"date": "2026-06-24",
"high": 745.2,
"low": 660.01,
"close": 704.0
"close": 704.28
}
],
"688802": [
@@ -2466,7 +2466,7 @@
"date": "2026-06-24",
"high": 5.38,
"low": 4.86,
"close": 5.06
"close": 5.05
}
],
"688630": [
@@ -2550,7 +2550,7 @@
"date": "2026-06-24",
"high": 113.99,
"low": 94.79,
"close": 100.33
"close": 100.14
}
],
"300308": [
@@ -2610,7 +2610,7 @@
"date": "2026-06-24",
"high": 52.43,
"low": 49.03,
"close": 49.12
"close": 49.09
}
],
"002171": [