技能详情(站内镜像,无评论)
作者:jialun @15910701838
许可证:MIT-0
MIT-0 ·免费使用、修改和重新分发。无需归因。
版本:v1.0.0
统计:⭐ 0 · 19 · 1 current installs · 1 all-time installs
⭐ 0
安装量(当前) 1
🛡 VirusTotal :良性 · OpenClaw :良性
Package:15910701838/jarvis-stock-monitor
安全扫描(ClawHub)
- VirusTotal :良性
- OpenClaw :良性
OpenClaw 评估
The skill's code, docs, and runtime instructions are consistent with a stock-monitoring/alert tool; there are no signs of covert exfiltration or unrelated credential requests, but a few implementation/packaging rough edges deserve attention before you run it.
目的
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.
说明范围
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 provi…
安装机制
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.
证书
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.
持久
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.
综合结论
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 in…
安装(复制给龙虾 AI)
将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。
请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「Jarvis Stock Monitor」。简介:全功能智能股票监控预警系统 Pro 版。支持成本百分比、均线金叉死叉、RSI 超买超卖、成交量异动、跳空缺口、动态止盈等 7 大预警规则。基础功能免费,高级功…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/15910701838/jarvis-stock-monitor/SKILL.md
(来源:yingzhi8.cn 技能库)
SKILL.md
---
name: jarvis-stock-monitor
description: 全功能智能股票监控预警系统 Pro 版。支持成本百分比、均线金叉死叉、RSI 超买超卖、成交量异动、跳空缺口、动态止盈等 7 大预警规则。基础功能免费,高级功能 SkillPay 付费。
tags: ["stock", "monitor", "alert", "股票", "监控", "预警", "A 股", "ETF", "jarvis"]
status: stable
version: 1.0.0
author: Jarvis-OC
pricing:
model: skillpay
free_tier: true
paid_tier:
- name: 单次查询
price: 0.01
currency: CNY
unit: 次
- name: 包月订阅
price: 99
currency: CNY
unit: 月
---
# 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. 中国习惯
- **🔴 红色** = 上涨 / 盈利
- **🟢 绿色** = 下跌 / 亏损
## 💰 定价说明
### 免费功能
- ✅ 基础股票价格监控
- ✅ 成本百分比预警
- ✅ 日内涨跌幅预警
- ✅ 每日复盘报告
### 付费功能 (SkillPay)
- 🔒 技术指标预警 (均线/RSI/MACD)
- 🔒 成交量异动监控
- 🔒 跳空缺口检测
- 🔒 动态止盈提醒
- 🔒 智能分析引擎 (Kimi 集成)
- 🔒 多条件共振预警
### 付费方式
| 套餐 | 价格 | 说明 |
|------|------|------|
| 单次查询 | ¥0.01 | 按次付费,适合偶尔使用 |
| 包月订阅 | ¥99 | 无限次使用,适合活跃交易者 |
## 📋 监控配置
### 完整预警规则示例
```python
{
"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. 安装技能
```bash
clawhub install stock-monitor-pro
```
### 2. 配置持仓
```bash
cd ~/.openclaw/workspace/skills/stock-monitor-pro/scripts
cp config.example.py config.py
# 编辑 config.py 填入你的持仓和成本价
```
### 3. 启动监控
```bash
# 后台常驻进程
./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 # 配置模板
```
## ⚙️ 自定义配置
### 修改成本价
```python
"cost": 55.50, # 改成你的实际成本
```
### 调整预警阈值
```python
"cost_pct_above": 20.0, # 盈利 20% 提醒
"cost_pct_below": -15.0, # 亏损 15% 提醒
"change_pct_above": 5.0, # 日内异动±5%
"volume_surge": 3.0, # 放量 3 倍提醒
```
### 开关技术指标
```python
"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
---
**核心原则**:
> 预警系统目标是"不错过大机会,不犯大错误",不是"抓住每一个波动"。
**付费说明**:
> 基础价格监控完全免费!付费功能主要是技术指标和智能分析,适合需要深度分析的用户。