jarvis-stock-monitor

全功能智能股票监控预警系统 Pro 版。支持成本百分比、均线金叉死叉、RSI 超买超卖、成交量异动、跳空缺口、动态止盈等 7 大预警规则。基础功能免费,高级功能 SkillPay 付费。

3,880 stars
Complexity: easy

About this skill

The jarvis-stock-monitor skill acts as an intelligent financial assistant, enabling AI agents to provide comprehensive stock and ETF surveillance. It monitors market movements against a diverse set of seven pre-defined or user-configured alert rules, such as profit/loss percentage relative to cost, daily price fluctuations, significant volume changes, moving average crossovers (golden/death cross), RSI overbought/oversold conditions, detection of upward/downward gaps, and dynamic trailing stop-profit mechanisms. This skill is designed for investors and traders who require automated, timely notifications to manage their portfolios effectively. It features a tiered alert system (Emergency, Warning, Reminder) to categorize the urgency of market events based on the number of triggered conditions, and incorporates Chinese market conventions for visual clarity (red for gain, green for loss). While basic monitoring functions are free, advanced technical indicator alerts, volume anomaly detection, gap analysis, dynamic stop-profit, and an intelligent analysis engine (Kimi integration) are available through SkillPay. Users can configure detailed monitoring profiles for individual stocks or ETFs, specifying entry costs, percentage thresholds for profit/loss, daily change limits, and enabling various technical indicator alerts. This allows AI agents to act as a vigilant co-pilot, surfacing critical market information and potential trading signals without constant manual oversight.

Best use case

The primary use case is providing automated, intelligent stock and ETF monitoring with real-time alerts. It is ideal for individual investors, day traders, or portfolio managers focused on the Chinese market (A-shares, ETFs) who want to streamline their surveillance and receive timely notifications for potential trading opportunities or risk management, especially when adhering to specific technical or fundamental criteria.

全功能智能股票监控预警系统 Pro 版。支持成本百分比、均线金叉死叉、RSI 超买超卖、成交量异动、跳空缺口、动态止盈等 7 大预警规则。基础功能免费,高级功能 SkillPay 付费。

Users should expect to receive timely, actionable alerts on their monitored stocks and ETFs, helping them make informed trading and investment decisions.

Practical example

Example input

Configure stock monitoring for '江西铜业' (code: 600362) with a cost of 57.00. Set alerts for a 15% profit target and a 12% stop-loss. Also, enable alerts for daily price changes exceeding ±4%, volume surges, and all advanced technical indicators including MA crossovers, RSI, and dynamic stop-profit.

Example output

🚨 ALERT: 江西铜业 (600362) triggered an 'Emergency Level' alert! Current Price: ¥66.12 (Profit +16% from cost, Volume Surge detected, MA Golden Cross confirmed). Consider taking profit now.

When to use this skill

  • When you need automated, real-time alerts for stock and ETF price movements and technical indicators.
  • When you want to monitor your portfolio for specific profit-taking or stop-loss conditions automatically.
  • When trading A-shares or ETFs and requiring a system that understands localized market conventions.
  • To reduce manual effort in market surveillance and react quickly to significant market events or price changes.

When not to use this skill

  • If you prefer entirely manual, discretionary trading without any automated system interventions.
  • If your primary focus is on fundamental analysis without relying on technical indicators or price action.
  • If you are looking for a skill that provides direct trading execution capabilities.
  • If you are not involved in monitoring stock or ETF markets, particularly the Chinese market.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/jarvis-stock-monitor/SKILL.md --create-dirs "https://raw.githubusercontent.com/openclaw/skills/main/skills/15910701838/jarvis-stock-monitor/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/jarvis-stock-monitor/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How jarvis-stock-monitor Compares

Feature / Agentjarvis-stock-monitorStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityeasyN/A

Frequently Asked Questions

What does this skill do?

全功能智能股票监控预警系统 Pro 版。支持成本百分比、均线金叉死叉、RSI 超买超卖、成交量异动、跳空缺口、动态止盈等 7 大预警规则。基础功能免费,高级功能 SkillPay 付费。

How difficult is it to install?

The installation complexity is rated as easy. You can find the installation instructions above.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# 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

---

**核心原则**: 
> 预警系统目标是"不错过大机会,不犯大错误",不是"抓住每一个波动"。

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

Related Skills

simple-tech-analyzer - 简易技术分析器

3891
from openclaw/skills

**版本**: 1.0.0

Finance & Trading

SendTradeSignal

3891
from openclaw/skills

A specialized tool for sending quantitative trading signals to the FMZ platform via HTTP API.

Finance & Trading

polymarket-sports-edge

3891
from openclaw/skills

Find odds divergence between sportsbook consensus and Polymarket sports markets, then trade the gap.

Finance & Trading

Competitor Monitor

3891
from openclaw/skills

Tracks and analyzes competitor moves — pricing changes, feature launches, hiring, and positioning shifts

Data & Research

Agent Observability & Monitoring

3891
from openclaw/skills

Score, monitor, and troubleshoot AI agent fleets in production. Built for ops teams running 1-100+ agents.

pc-monitor-cn

3891
from openclaw/skills

name: pc-monitor-cn

General Utilities

hatsune-miku-monitor

3891
from openclaw/skills

初音未来监控器 - 可爱的桌面系统监控工具(GIF动画 + 贴边隐藏 + 一键加速)

desktop-monitor-widget

3891
from openclaw/skills

桌面监控悬浮球 - 实时显示系统资源状态

General Utilities

openclaw-stock-skill

3891
from openclaw/skills

使用 data.diemeng.chat 提供的接口查询股票日线、分钟线、财务指标等数据,支持 A 股等市场。

Data & Research

us-stock-analyst

3891
from openclaw/skills

Professional US stock analysis with financial data, news, social sentiment, and multi-model AI. Comprehensive reports at $0.02-0.10 per analysis.

Data & Research

stock-watchlist

3891
from openclaw/skills

Query real-time stock prices, basic quote fields, and manage a Markdown watchlist for A-share, Hong Kong, and US stocks. Use when users ask in Chinese or by ticker/code to search stocks, inspect current price and quote basics, or maintain a watchlist stored in a Markdown file.

Personal Finance

openclaw-version-monitor

3891
from openclaw/skills

监控 OpenClaw GitHub 版本更新,获取最新版本发布说明,翻译成中文, 并推送到 Telegram 和 Feishu。用于:(1) 定时检查版本更新 (2) 推送版本更新通知 (3) 生成中文版发布说明

Workflow & Productivity