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

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