stale_push_wlin: 操作符号标记

- ⚠️ 预算不足1手(列了也没法买,但让你知道)
- 🛒 手数达标(现金够买,可直接操作)

取自 position_advice calc_position 的实际计算结果:
  lots=0 → 预算不足 ⚠️
  lots>0 → 可以买 🛒
This commit is contained in:
知微
2026-06-24 10:47:34 +08:00
parent b229e6f0cb
commit e0b7f49c3a
4 changed files with 109 additions and 108 deletions
+69 -69
View File
@@ -301,17 +301,17 @@
{
"code": "000711",
"name": "ST京蓝",
"price": 5.06,
"price": 4.96,
"cost": 0,
"shares": 0,
"avg_price": 0,
"action": "盈利持有 | 目标5.38 | 止损4.91 | 买入区4.96~5.1 | 信号:放量下跌,等企稳再入",
"stop_loss": 4.91,
"entry_low": 4.96,
"entry_high": 5.1,
"tech_snapshot": "形态:锤子线/T字线/neutral 量价:主动卖盘占优 强撑:4.86 弱撑:5.02 弱压:5.12 强压:5.38",
"timing_signal": "大盘中性,行业偏强,高估值,放量下跌,等企稳再入",
"rr_ratio": 2.13,
"action": "盈利持有 | 目标5.38 | 止损4.81 | 买入区4.86~5.04 | 信号:观望",
"stop_loss": 4.81,
"entry_low": 4.86,
"entry_high": 5.04,
"tech_snapshot": "形态:带下影阴线/neutral 量价:主动卖盘占优 强撑:4.86 弱撑:4.86 弱压:5.12 强压:5.38",
"timing_signal": "观望",
"rr_ratio": 2.8,
"status": "updated",
"note": "",
"timestamp": "2026-06-24 09:00",
@@ -402,7 +402,7 @@
{
"id": "000711_stop_loss",
"condition": {
"price": "<4.91"
"price": "<4.81"
},
"action": {
"type": "sell",
@@ -411,28 +411,28 @@
},
"priority": 0,
"rationale": "止损保护本金",
"trigger_count": 9,
"trigger_count": 0,
"success_rate": null,
"last_triggered": "2026-06-24"
"last_triggered": null
},
{
"id": "000711_buy_dip",
"condition": {
"scenario": "weak_consolidation",
"price": "<=5.1",
"price_lower": ">=4.96"
"price": "<=5.04",
"price_lower": ">=4.86"
},
"action": {
"type": "buy",
"amount": "normal",
"limit": 4.96,
"limit": 4.86,
"reason": "回调支撑买入"
},
"priority": 1,
"rationale": "价格回调到支撑区,弱势市场低吸",
"trigger_count": 4,
"trigger_count": 0,
"success_rate": null,
"last_triggered": "2026-06-24"
"last_triggered": null
},
{
"id": "000711_breakout_chase",
@@ -494,9 +494,9 @@
},
"priority": 99,
"rationale": "没有分支匹配时的默认动作",
"trigger_count": 4,
"trigger_count": 0,
"success_rate": null,
"last_triggered": "2026-06-24"
"last_triggered": null
}
],
"last_evaluated": "2026-06-24T10:23:51.378572"
@@ -852,9 +852,9 @@
},
"priority": 1,
"rationale": "价格回调到支撑区,弱势市场低吸",
"trigger_count": 1,
"trigger_count": 0,
"success_rate": null,
"last_triggered": "2026-06-24"
"last_triggered": null
},
{
"id": "002594_breakout_chase",
@@ -4906,17 +4906,17 @@
{
"code": "300124",
"name": "汇川技术",
"price": 66.51,
"price": 66.21,
"cost": 0,
"shares": 0,
"avg_price": 0,
"action": "盈利持有 | 目标73.08 | 止损64.51 | 买入区65.18~67.84 | 信号:观望",
"stop_loss": 64.51,
"entry_low": 65.18,
"entry_high": 67.84,
"tech_snapshot": "形态:倒T线/射击之星/bearish 量价:主动卖盘占优 强撑:60.2 弱撑:65.79 弱压:67.36 强压:73.08",
"action": "盈利持有 | 目标72.98 | 止损64.22 | 买入区64.89~67.53 | 信号:观望",
"stop_loss": 64.22,
"entry_low": 64.89,
"entry_high": 67.53,
"tech_snapshot": "形态:倒T线/射击之星/bearish 量价:主动卖盘占优 强撑:60.1 弱撑:65.59 弱压:67.16 强压:72.98",
"timing_signal": "观望",
"rr_ratio": 3.28,
"rr_ratio": 3.4,
"status": "updated",
"note": "",
"timestamp": "2026-06-24 09:01",
@@ -4928,7 +4928,7 @@
"position_advice": "减仓或观望",
"time_horizon": "观望",
"created_at": "2026-06-18 17:15",
"take_profit": 73.08,
"take_profit": 72.98,
"updated_reason": "技术面重评: 止损65.78→64.82 | 形态:光头光脚阴线/bearish 量价:主动卖盘占优 强撑:61.61 弱撑:65.99 弱压:68.95 强压:73",
"changelog": [
{
@@ -5007,7 +5007,7 @@
{
"id": "300124_stop_loss",
"condition": {
"price": "<64.51"
"price": "<64.22"
},
"action": {
"type": "sell",
@@ -5024,26 +5024,26 @@
"id": "300124_buy_dip",
"condition": {
"scenario": "weak_consolidation",
"price": "<=67.84",
"price_lower": ">=65.18"
"price": "<=67.53",
"price_lower": ">=64.89"
},
"action": {
"type": "buy",
"amount": "normal",
"limit": 65.18,
"limit": 64.89,
"reason": "回调支撑买入"
},
"priority": 1,
"rationale": "价格回调到支撑区,弱势市场低吸",
"trigger_count": 1,
"trigger_count": 0,
"success_rate": null,
"last_triggered": "2026-06-24"
"last_triggered": null
},
{
"id": "300124_breakout_chase",
"condition": {
"scenario": "bullish_recovery",
"price": ">=73.08"
"price": ">=72.98"
},
"action": {
"type": "buy",
@@ -5077,7 +5077,7 @@
{
"id": "300124_take_profit",
"condition": {
"price": ">=73.08"
"price": ">=72.98"
},
"action": {
"type": "sell",
@@ -6834,17 +6834,17 @@
{
"code": "601318",
"name": "中国平安",
"price": 49.32,
"price": 49.46,
"cost": 0,
"shares": 0,
"avg_price": 0,
"action": "盈利持有 | 目标53.69 | 止损47.84 | 买入区48.33~50.18 | 信号:观望",
"stop_loss": 47.84,
"entry_low": 48.33,
"entry_high": 50.18,
"tech_snapshot": "形态:光头光脚阴线/bearish 量价:主动卖盘占优 强撑:45.8 弱撑:48.61 弱压:50.46 强压:53.69",
"action": "盈利持有 | 目标53.56 | 止损47.98 | 买入区48.47~50.21 | 信号:观望",
"stop_loss": 47.98,
"entry_low": 48.47,
"entry_high": 50.21,
"tech_snapshot": "形态:光头光脚阴线/bearish 量价:主动卖盘占优 强撑:46.02 弱撑:48.7 弱压:50.55 强压:53.56",
"timing_signal": "观望",
"rr_ratio": 2.95,
"rr_ratio": 2.77,
"status": "updated",
"note": "",
"timestamp": "2026-06-24 09:01",
@@ -6856,7 +6856,7 @@
"position_advice": "减仓或观望",
"time_horizon": "观望",
"created_at": "2026-06-22 11:50",
"take_profit": 53.69,
"take_profit": 53.56,
"changelog": [
{
"date": "2026-06-22 12:01",
@@ -6885,7 +6885,7 @@
{
"id": "601318_stop_loss",
"condition": {
"price": "<47.84"
"price": "<47.98"
},
"action": {
"type": "sell",
@@ -6902,26 +6902,26 @@
"id": "601318_buy_dip",
"condition": {
"scenario": "weak_consolidation",
"price": "<=50.18",
"price_lower": ">=48.33"
"price": "<=50.21",
"price_lower": ">=48.47"
},
"action": {
"type": "buy",
"amount": "normal",
"limit": 48.33,
"limit": 48.47,
"reason": "回调支撑买入"
},
"priority": 1,
"rationale": "价格回调到支撑区,弱势市场低吸",
"trigger_count": 1,
"trigger_count": 0,
"success_rate": null,
"last_triggered": "2026-06-24"
"last_triggered": null
},
{
"id": "601318_breakout_chase",
"condition": {
"scenario": "bullish_recovery",
"price": ">=53.69"
"price": ">=53.56"
},
"action": {
"type": "buy",
@@ -6955,7 +6955,7 @@
{
"id": "601318_take_profit",
"condition": {
"price": ">=53.69"
"price": ">=53.56"
},
"action": {
"type": "sell",
@@ -7931,17 +7931,17 @@
{
"code": "688795",
"name": "摩尔线程-U",
"price": 684.99,
"price": 682.02,
"cost": 0,
"shares": 0,
"avg_price": 0,
"action": "盈利持有 | 目标818.98 | 止损664.44 | 买入区671.29~698.69 | 信号:观望",
"stop_loss": 664.44,
"entry_low": 671.29,
"entry_high": 698.69,
"tech_snapshot": "形态:锤子线/T字线/bullish 量价:主动卖盘占优 强撑:563.22 弱撑:669.66 弱压:704.03 强压:818.98",
"action": "盈利持有 | 目标817.99 | 止损661.56 | 买入区668.38~695.66 | 信号:观望",
"stop_loss": 661.56,
"entry_low": 668.38,
"entry_high": 695.66,
"tech_snapshot": "形态:锤子线/T字线/bullish 量价:主动卖盘占优 强撑:563.22 弱撑:667.67 弱压:704.03 强压:817.99",
"timing_signal": "观望",
"rr_ratio": 6.52,
"rr_ratio": 6.65,
"status": "updated",
"note": "",
"timestamp": "2026-06-24 09:01",
@@ -7953,7 +7953,7 @@
"position_advice": "正常配置",
"time_horizon": "数月~1年",
"created_at": "2026-06-18 17:15",
"take_profit": 818.98,
"take_profit": 817.99,
"updated_reason": "技术信号变化: 大盘中性,行业中性,高估值,放量下跌,等企稳再入: 止损683.91→660.96 | 形态:带上影阳线/neutral 量价:主动卖盘占优 强撑:568.43 弱撑:660.96 弱压:746.15 强压:",
"changelog": [
{
@@ -8032,7 +8032,7 @@
{
"id": "688795_stop_loss",
"condition": {
"price": "<664.44"
"price": "<661.56"
},
"action": {
"type": "sell",
@@ -8049,26 +8049,26 @@
"id": "688795_buy_dip",
"condition": {
"scenario": "weak_consolidation",
"price": "<=698.69",
"price_lower": ">=671.29"
"price": "<=695.66",
"price_lower": ">=668.38"
},
"action": {
"type": "buy",
"amount": "normal",
"limit": 671.29,
"limit": 668.38,
"reason": "回调支撑买入"
},
"priority": 1,
"rationale": "价格回调到支撑区,弱势市场低吸",
"trigger_count": 1,
"trigger_count": 0,
"success_rate": null,
"last_triggered": "2026-06-24"
"last_triggered": null
},
{
"id": "688795_breakout_chase",
"condition": {
"scenario": "bullish_recovery",
"price": ">=818.98"
"price": ">=817.99"
},
"action": {
"type": "buy",
@@ -8102,7 +8102,7 @@
{
"id": "688795_take_profit",
"condition": {
"price": ">=818.98"
"price": ">=817.99"
},
"action": {
"type": "sell",
@@ -8662,5 +8662,5 @@
}
],
"total": 43,
"regenerated_at": "2026-06-24 10:44"
"regenerated_at": "2026-06-24 10:47"
}