Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
股票价格实时监控。支持多只股票监控,使用 Yahoo Finance API 获取实时股价,自定义涨跌阈值提醒。当股价波动超过设定阈值时自动发送提醒,支持首次预警和续警机制。用于:(1) 监控持仓股票价格波动 (2) 设置价格提醒 (3) 定期检查股价变化
股票价格实时监控。支持多只股票监控,使用 Yahoo Finance API 获取实时股价,自定义涨跌阈值提醒。当股价波动超过设定阈值时自动发送提醒,支持首次预警和续警机制。用于:(1) 监控持仓股票价格波动 (2) 设置价格提醒 (3) 定期检查股价变化
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
实时监控多只股票价格,当波动超过阈值时自动提醒。
创建配置文件 ~/.openclaw/workspace/memory/stocks_config.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: 货币符号
python3 ~/.openclaw/skills/stock-monitor/scripts/stocks_monitor.py
# 每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.HKTCEHY阿里巴巴9988.HKBABA美团3690.HKMPNG小米1810.HKXI茅台-600519.SS
脚本会自动在 ~/.openclaw/workspace/memory/stocks_alert.json 保存监控状态,包括是否已预警、预警日期等。
Code helpers, APIs, CLIs, browser automation, testing, and developer operations.
Largest current source with strong distribution and engagement signals.