Xpersona
S

Stock Monitor

CLAWHUB · Unverified

股票价格实时监控。支持多只股票监控,使用 Yahoo Finance API 获取实时股价,自定义涨跌阈值提醒。当股价波动超过设定阈值时自动发送提醒,支持首次预警和续警机制。用于:(1) 监控持仓股票价格波动 (2) 设置价格提醒 (3) 定期检查股价变化 Skill: Stock Monitor Owner: shengbinxu Summary: 股票价格实时监控。支持多只股票监控,使用 Yahoo Finance API 获取实时股价,自定义涨跌阈值提醒。当股价波动超过设定阈值时自动发送提醒,支持首次预警和续警机制。用于:(1) 监控持仓股票价格波动 (2) 设置价格提醒 (3) 定期检查股价变化 Tags: latest:1.3.0 Version history: v1.3.0 | 2026-03-03T12:50:51.237Z | user feat: 新增股票调仓条件单监控功能 - 支持多股票联动条件(如:拼多多涨到 100 且微软跌到 130 时提醒) - 支持重复提醒(可配置连续提醒次数和间隔) - 支持 24 小时冷却期 - 新增 HTML 网页格式输出(中英文对照) - 优化 A 股/港股 9:30 开盘前跳过检查 v1.2.0 | 2026-03-03T0

62
Rank
84
Safety
15k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 15.1K downloads reported by the source. Last updated 11/16/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17fgz2qbq71rkjjrap0ygetc18854jm:stock-monitor
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-shengbinxu-stock-monitor--monitor-2/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

7,513 characters of source documentation, loaded on request.

Extracted files

2 files captured from the source.

SKILL.md

---
name: stock-monitor
description: 股票价格实时监控。支持多只股票监控,使用 Yahoo Finance API 获取实时股价,自定义涨跌阈值提醒。当股价波动超过设定阈值时自动发送提醒,支持首次预警和续警机制。用于:(1) 监控持仓股票价格波动 (2) 设置价格提醒 (3) 定期检查股价变化
---

# 股票价格监控

实时监控多只股票价格,当波动超过阈值时自动提醒。

## 快速开始

### 1. 配置股票列表

创建配置文件 `~/.openclaw/workspace/memory/stocks_config.json`:

```json
{
  "stocks": {
    "贵州茅台": {"symbol": "600519.SS", "base_price": 1600.0, "currency": "¥"},
    "腾讯控股": {"symbol": "0700.HK", "base_price": 512.0, "currency": "HK$"},
    "拼多多": {"symbol": "PDD", "base_price": 120.0, "currency": "$"}
  }
}
```

配置说明:
- `symbol`: Yahoo Finance 股票代码
  - A股: `600519.SS` (茅台)
  - 港股: `0700.HK` (腾讯)
  - 美股: `PDD` (拼多多), `AAPL` (苹果)
- `base_price`: 基准价(昨日收盘或参考价)
- `currency`: 货币符号

### 2. 运行监控

```bash
python3 ~/.openclaw/skills/stock-monitor/scripts/stocks_monitor.py
```

### 3. 设置定时任务

```bash
# 每5分钟检查一次
openclaw cron add --name "股票监控" --cron "*/5 * * * *" --tz "Asia/Shanghai" --message "运行 python3 ~/.openclaw/workspace/skills/stock-monitor/scripts/stocks_monitor.py 并把输出发给我" --channel discord
```

## 预警规则

- **首次预警**: 涨跌超过 2%
- **续警**: 同一天内,再波动超过 1%
- **重置**: 新一天自动重置基准价为前一天收盘价

## 常用股票代码

| 股票 | 港股代码 | 美股代码 |
|------|----------|----------|
| 腾讯控股 | 0700.HK | TCEHY |
| 阿里巴巴 | 9988.HK | BABA |
| 美团 | 3690.HK | MPNG |
| 小米 | 1810.HK | XI |
| 茅台 | - | 600519.SS |

## 状态文件

脚本会自动在 `~/.openclaw/workspace/memory/stocks_alert.json` 保存监控状态,包括是否已预警、预警日期等。

_meta.json

{
  "ownerId": "kn771afz45s9xx0xrd0ezz6b8x823dmd",
  "slug": "stock-monitor",
  "version": "1.1.0",
  "publishedAt": 1772344275440
}

Sponsored

Ads related to Stock Monitor and adjacent AI workflows.