← 返回 Skills 市场
15910701838

Jarvis Stock Monitor

作者 jialun · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
153
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install jarvis-stock-monitor
功能描述
全功能智能股票监控预警系统 Pro 版。支持成本百分比、均线金叉死叉、RSI 超买超卖、成交量异动、跳空缺口、动态止盈等 7 大预警规则。基础功能免费,高级功能 SkillPay 付费。
使用说明 (SKILL.md)

Stock Monitor Pro - 全功能智能投顾系统

🎯 核心特色

1. 七大预警规则 (全都要!)

规则 触发条件 权重
成本百分比 盈利 +15% / 亏损 -12% ⭐⭐⭐
日内涨跌幅 个股±4% / ETF±2% / 黄金±2.5% ⭐⭐
成交量异动 放量>2 倍均量 / 缩量\x3C0.5 倍 ⭐⭐
均线金叉/死叉 MA5 上穿/下穿 MA10 ⭐⭐⭐
RSI 超买超卖 RSI>70 超买 / RSI\x3C30 超卖 ⭐⭐
跳空缺口 向上/向下跳空>1% ⭐⭐
动态止盈 盈利 10%+ 后回撤 5%/10% ⭐⭐⭐

2. 分级预警系统

  • 🚨 紧急级: 多条件共振 (如:放量 + 均线金叉 + 突破成本)
  • ⚠️ 警告级: 2 个条件触发 (如:RSI 超卖 + 放量)
  • 📢 提醒级: 单一条件触发

3. 中国习惯

  • 🔴 红色 = 上涨 / 盈利
  • 🟢 绿色 = 下跌 / 亏损

💰 定价说明

免费功能

  • ✅ 基础股票价格监控
  • ✅ 成本百分比预警
  • ✅ 日内涨跌幅预警
  • ✅ 每日复盘报告

付费功能 (SkillPay)

  • 🔒 技术指标预警 (均线/RSI/MACD)
  • 🔒 成交量异动监控
  • 🔒 跳空缺口检测
  • 🔒 动态止盈提醒
  • 🔒 智能分析引擎 (Kimi 集成)
  • 🔒 多条件共振预警

付费方式

套餐 价格 说明
单次查询 ¥0.01 按次付费,适合偶尔使用
包月订阅 ¥99 无限次使用,适合活跃交易者

📋 监控配置

完整预警规则示例

{
    "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% 伦敦金

🚀 快速开始

1. 安装技能

clawhub install stock-monitor-pro

2. 配置持仓

cd ~/.openclaw/workspace/skills/stock-monitor-pro/scripts
cp config.example.py config.py
# 编辑 config.py 填入你的持仓和成本价

3. 启动监控

# 后台常驻进程
./control.sh start

# 查看状态
./control.sh status

# 查看日志
./control.sh log

⚡ 智能频率 (北京时间)

时间段 频率 监控标的
交易时间 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 进入超卖区,关注反弹机会但勿急于抄底。

🛠️ 文件结构

stock-monitor-pro/
├── SKILL.md                    # 本文档
├── README.md                   # 快速开始指南
├── _meta.json                  # ClawHub 元数据
├── .clawhub/                   # ClawHub 配置
│   └── origin.json
└── scripts/
    ├── monitor.py              # 核心监控 (7 大规则)
    ├── monitor_daemon.py       # 后台常驻进程
    ├── analyser.py             # 智能分析引擎
    ├── control.sh              # 一键控制脚本
    └── config.example.py       # 配置模板

⚙️ 自定义配置

修改成本价

"cost": 55.50,  # 改成你的实际成本

调整预警阈值

"cost_pct_above": 20.0,     # 盈利 20% 提醒
"cost_pct_below": -15.0,    # 亏损 15% 提醒
"change_pct_above": 5.0,    # 日内异动±5%
"volume_surge": 3.0,        # 放量 3 倍提醒

开关技术指标

"ma_monitor": False,     # 关闭均线
"rsi_monitor": True,     # 开启 RSI
"gap_monitor": True,     # 开启跳空

📝 更新日志

  • v1.0.0 Pro 版:
    • 新增 SkillPay 付费支持
    • 基础功能免费,高级功能付费
    • 单次查询¥0.01,包月¥99
  • v3.0 全功能版: 完成 7 大预警规则
  • v2.4 成本百分比版: 支持基于持仓成本的百分比预警

⚠️ 使用提示

  1. 技术指标有滞后性: 均线、MACD 等都是滞后指标,用于确认趋势而非预测
  2. 避免过度交易: 预警只是参考,不要每个信号都操作
  3. 多条件共振更可靠: 单一指标容易假信号,多条件共振更准确
  4. 动态止盈要灵活: 回撤 5% 减仓、10% 清仓是建议,根据市场灵活调整

💬 技术支持

  • 问题反馈: GitHub Issues
  • 社区讨论: Moltbook @jarvis-oc-2299
  • 商务合作: @15910701838

核心原则:

预警系统目标是"不错过大机会,不犯大错误",不是"抓住每一个波动"。

付费说明:

基础价格监控完全免费!付费功能主要是技术指标和智能分析,适合需要深度分析的用户。

安全使用建议
This package appears to be a legitimate stock-monitoring tool, but review a few things before installing/running: 1) Open monitor.py and analyser.py to confirm exactly how notifications are sent and whether any external webhook/URL is hardcoded; do not paste credentials until you confirm the notification code uses the FEISHU_WEBHOOK / EMAIL_CONFIG fields only. 2) The test suite references an absolute developer path and some functions appear incomplete/truncated in the provided manifest — run tests in an isolated environment (container or VM) before trusting long-running execution. 3) Network access to Chinese finance APIs is expected; if you require offline or privacy-preserving behavior, do not run it. 4) If you enable email notifications, use an app-specific password or dedicated account rather than your primary email password. 5) Because the skill's source/homepage is not well-established, prefer to run it in a sandbox and inspect the notification/message code paths for any unexpected external endpoints before entering any secrets.
功能分析
Type: OpenClaw Skill Name: jarvis-stock-monitor Version: 1.0.0 The 'jarvis-stock-monitor' skill is a functional stock monitoring and alerting system tailored for the Chinese market (A-shares, ETFs, and Gold). It utilizes standard Python libraries to fetch financial data from legitimate public APIs (Sina Finance and EastMoney) and implements various trading rules such as cost-basis alerts, moving average crossovers, and RSI indicators. The bundle includes a daemon management script (control.sh) for background execution and a test suite (test_suite.py). No evidence of malicious intent, data exfiltration, or prompt injection was found; a hardcoded path in the test suite appears to be a minor developer oversight rather than a security threat.
能力评估
Purpose & Capability
Name/description (stock monitoring + alerts) match the provided Python scripts (monitoring, analyser, daemon) and SKILL.md. Network calls are to finance data providers (eastmoney, sina, push2.eastmoney), which is expected for this purpose.
Instruction Scope
Runtime instructions tell you to copy config.example.py, edit credentials if you want Feishu/email alerts, and run control.sh to launch a background daemon. The code legitimately accesses market data and news. The SKILL.md references a message/notification mechanism but the manifest doesn't clearly show a centralized 'message' module — inspect monitor.py/analyser.py to confirm where notifications (webhooks/email) are actually sent before providing credentials.
Install Mechanism
No install spec; skill is instruction + local scripts only. Files are included in the skill bundle (no remote downloads or archive extraction). This minimizes supply-chain risk from installs.
Credentials
requires.env is empty. config.example.py includes optional FEISHU_WEBHOOK and EMAIL_CONFIG (smtp username/password) — these are proportional for notification features but are sensitive. There are no unrelated credential requests. One test file hardcodes a development path (/home/wesley/...) to inject into sys.path which is sloppy but not directly malicious; it could cause tests to behave oddly on other systems.
Persistence & Privilege
always is false. The skill runs a user-level background daemon via control.sh and writes logs under $HOME/.stock_monitor — expected for a monitoring tool and limited to user-level persistence. The skill does not request system-wide privileges or modify other skills' configs.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install jarvis-stock-monitor
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /jarvis-stock-monitor 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
jarvis-stock-monitor v1.0.0 发布 — 全功能智能股票监控预警系统 Pro 版上线! - 支持七大预警规则:成本百分比、均线金叉死叉、RSI 超买超卖、成交量异动、跳空缺口、动态止盈等 - 提供分级预警(紧急/警告/提醒),更智能识别交易信号 - 基础功能免费,包括价格监控、持仓盈利亏损预警、每日复盘报告 - 高级功能采用 SkillPay 付费模式,开放单次查询和包月订阅 - 付费内容涵盖技术指标预警、智能分析引擎、动态止盈与多条件共振提醒 - 优化中国市场体验,支持A股、ETF、黄金,满足多样化需求
元数据
Slug jarvis-stock-monitor
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Jarvis Stock Monitor 是什么?

全功能智能股票监控预警系统 Pro 版。支持成本百分比、均线金叉死叉、RSI 超买超卖、成交量异动、跳空缺口、动态止盈等 7 大预警规则。基础功能免费,高级功能 SkillPay 付费。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 153 次。

如何安装 Jarvis Stock Monitor?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install jarvis-stock-monitor」即可一键安装,无需额外配置。

Jarvis Stock Monitor 是免费的吗?

是的,Jarvis Stock Monitor 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Jarvis Stock Monitor 支持哪些平台?

Jarvis Stock Monitor 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Jarvis Stock Monitor?

由 jialun(@15910701838)开发并维护,当前版本 v1.0.0。

💬 留言讨论