Stock Monitor Pro - 全功能智能投顾系统
🎯 核心特色
1. 七大预警规则 (全都要!)
|
规则
|
触发条件
|
权重
|
|
成本百分比
|
盈利+15% / 亏损-12%
|
⭐⭐⭐
|
|
日内涨跌幅
|
个股±4% / ETF±2% / 黄金±2.5%
|
⭐⭐
|
|
成交量异动
|
放量>2倍均量 / 缩量<0.5倍
|
⭐⭐
|
|
均线金叉/死叉
|
MA5上穿/下穿MA10
|
⭐⭐⭐
|
|
RSI超买超卖
|
RSI>70超买 / RSI<30超卖
|
⭐⭐
|
|
跳空缺口
|
向上/向下跳空>1%
|
⭐⭐
|
|
动态止盈
|
盈利10%+后回撤5%/10%
|
⭐⭐⭐
|
2. 分级预警系统
-
🚨 紧急级: 多条件共振 (如: 放量+均线金叉+突破成本)
-
⚠️ 警告级:2个条件触发(例如:RSI超卖+放量)
-
📢 提醒级:单一条件触发
3. 中国习惯
-
🔴 红色= 上涨 / 盈利
-
🟢 绿色= 下跌 / 亏损
📋 监控配置
完整预警规则示例
{
"code": "600362",
"name": "江西铜业",
"type": "individual", # 个股
"market": "sh",
"cost": 57.00, # 持仓成本
"alerts": {
# 1. 成本百分比
"cost_pct_above": 15.0, # 盈利15%提醒 (¥65.55)
"cost_pct_below": -12.0, # 亏损12%提醒 (¥50.16)
# 2. 日内涨跌幅 (个股±4%)
"change_pct_above": 4.0,
"change_pct_below": -4.0,
# 3. 成交量异动
"volume_surge": 2.0, # 放量>2倍5日均量
# 4-7. 技术指标 (默认开启)
"ma_monitor": True, # 均线金叉死叉
"rsi_monitor": True, # RSI超买超卖
"gap_monitor": True, # 跳空缺口
"trailing_stop": True # 动态止盈
}
}
标的类型差异化
|
类型
|
日内异动阈值
|
成交量阈值
|
适用标的
|
|
individual (个股)
|
±4%
|
2倍
|
江西铜业、中国平安
|
|
etf (ETF)
|
±2%
|
1.8倍
|
恒生医疗、创50等
|
|
gold (黄金)
|
±2.5%
|
无
|
伦敦金
|
🚀 运行方式
后台常驻进程
cd ~/workspace/skills/stock-monitor/scripts
./control.sh start # 启动
./control.sh status # 查看状态
./control.sh log # 查看日志
./control.sh stop # 停止
⚡ 智能频率 (北京时间)
|
时间段
|
频率
|
监控标的
|
|
交易时间 9:30-15:00
|
每5分钟
|
全部+技术指标
|
|
午休 11:30-13:00
|
每10分钟
|
全部
|
|
收盘后 15:00-24:00
|
每30分钟
|
全部 (日线数据)
|
|
凌晨 0:00-9:30
|
每1小时
|
仅伦敦金
|
|
周末
|
每1小时
|
仅伦敦金
|
🔔 预警消息示例
多条件共振 (紧急级)
🚨【紧急】🔴 江西铜业 (600362)
━━━━━━━━━━━━━━━━━━━━
💰 当前价格: ¥65.50 (+15.0%)
📊 持仓成本: ¥57.00 | 盈亏: 🔴+14.9%
🎯 触发预警 (3项):
• 🎯 盈利 15% (目标价 ¥65.55)
• 🌟 均线金叉 (MA5¥63.2上穿MA10¥62.8)
• 📊 放量 2.5倍 (5日均量)
📊 江西铜业 深度分析
💰 价格异动:
• 当前: 65.5 (+15.0%)
• MA趋势: MA5>MA10>MA20 [多头排列]
• RSI: 68 [接近超买]
💡 Kimi建议:
🚀 多条件共振,趋势强劲,可考虑继续持有或分批减仓。
RSI超卖 (警告级)
⚠️【警告】🟢 恒生医疗 (159892)
━━━━━━━━━━━━━━━━━━━━
💰 当前价格: ¥0.72 (-10.0%)
📊 持仓成本: ¥0.80 | 盈亏: 🟢-10.0%
🎯 触发预警 (2项):
• 📉 日内大跌 -10.0%
• ❄️ RSI超卖 (28.5),可能反弹
💡 Kimi建议:
🔍 短期超跌严重,RSI进入超卖区,关注反弹机会但勿急于抄底。
动态止盈提醒
📢【提醒】🔴 中国平安 (601318)
━━━━━━━━━━━━━━━━━━━━
💰 当前价格: ¥70.50 (+6.8%)
📊 持仓成本: ¥66.00 | 盈亏: 🔴+6.8%
🎯 触发预警:
• 📉 利润回撤 5.2%,建议减仓保护利润
(最高盈利12%已回撤)
🛠️ 文件结构
stock-monitor/
├── SKILL.md # 本文档
├── RULE_REVIEW_REPORT.md # 规则审核报告
└── scripts/
├── monitor.py # 核心监控 (7大规则)
├── monitor_daemon.py # 后台常驻进程
├── analyser.py # 智能分析引擎
└── control.sh # 一键控制脚本
⚙️ 自定义配置
Modify cost price
"cost": 55.50, # Change to your actual cost
Adjust alert thresholds
"cost_pct_above": 20.0, # Alert for 20% profit
"cost_pct_below": -15.0, # Alert for 15% loss
"change_pct_above": 5.0, # Intraday abnormal movement ±5%
"volume_surge": 3.0, # Alert for 3x volume surge
Toggle technical indicators
"ma_monitor": False, # Turn off moving average
"rsi_monitor": True, # Turn on RSI
"gap_monitor": True, # Turn on gap
📝 Update Log
-
v3.0 Full-featured version: Completed 7 major alert rules (cost/price change/volume/moving average/RSI/gap/dynamic profit-taking)
-
v2.4 Cost percentage version: Supports percentage alerts based on holding cost
-
v2.3 China version: Red for rise, green for fall color convention
-
v2.2 Resident process version: Supports background resident processes
-
v2.1 Smart frequency version: Smart frequency control
-
v2.0 Pro version: News sentiment analysis
⚠️ Usage Tips
-
Technical indicators have lag: Moving averages, MACD, etc., are lagging indicators used to confirm trends, not predict them
-
Avoid overtrading: Alerts are for reference only; do not act on every signal
-
Multiple condition convergence is more reliable: Single indicators are prone to false signals; convergence of multiple conditions is more accurate
-
Dynamic profit-taking should be flexible: Reducing position by 5% on retracement and clearing position at 10% are suggestions; adjust flexibly according to the market
Core principle:
The goal of the alert system is to "not miss big opportunities and not make big mistakes," not to "catch every fluctuation."
网友评论
最新评论