← Back to Skills Marketplace
282
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install etf-monitor
Description
ETF 波动监控 - 实时跟踪 ETF 涨跌幅,超过阈值自动告警
README (SKILL.md)
ETF 波动监控技能
实时监控 ETF 价格波动,超过设定阈值时自动告警。
功能特点
- 📡 实时行情:使用腾讯财经 API,免费无需 Token
- 🎯 多标的监控:支持同时监控多只 ETF
- ⚠️ 智能告警:波动超过阈值自动通知
- 🔇 静默模式:无告警时不打扰
快速使用
直接运行脚本
python3 /root/.openclaw/workspace/skills/etf-monitor.py
输出格式
无告警时:
{"alerts": []}
有告警时:
{
"alerts": [
{
"code": "159985",
"name": "豆粕 ETF",
"current": 1.234,
"percent": 1.5,
"direction": "📈"
}
]
}
配置说明
修改监控列表
编辑脚本中的 ETF_LIST:
ETF_LIST = [
("sz159985", "159985", "豆粕 ETF"),
("sz159792", "159792", "港股通互联网 ETF"),
("sh515220", "515220", "煤炭 ETF"),
# 添加更多 ETF...
]
调整波动阈值
THRESHOLD = 1.0 # 波动阈值 1%
定时任务示例
每 5 分钟检查一次:
*/5 * * * * python3 /root/.openclaw/workspace/skills/etf-monitor.py
支持的 ETF 代码格式
- 深交所:
sz+ 6 位代码(如sz159985) - 上交所:
sh+ 6 位代码(如sh515220)
注意事项
- 需要网络连接访问腾讯财经 API
- 行情数据可能有 1-2 分钟延迟
- 建议阈值设置为 1%-3% 之间
版本: v5
最后更新: 2026-03-18
Usage Guidance
This skill appears coherent and minimal, but consider these practical cautions before installing or running it:
- Network and endpoint: the script queries qt.gtimg.cn over plain HTTP (not HTTPS). That means responses can be intercepted or tampered with on the network. If you run it on an untrusted network, consider using a secure network or an HTTPS proxy.
- Rate limits and cron frequency: polling too frequently may hit rate limits or produce unnecessary traffic; follow the README recommendation (>=30s) and be conservative with cron scheduling (e.g., every 5 minutes).
- Execution path and privileges: SKILL.md examples reference /root/.openclaw; you should run the script as an unprivileged user and store logs/output in a user-writable directory. Do not run as root unless you intend to and understand implications.
- Dependencies: install the 'requests' package in the environment the script will run in (preferably a virtualenv) to avoid affecting system Python packages.
- Notifications integration: the skill itself only prints JSON to stdout. If you integrate it with notification tools (QQ, email, webhook), those tools may require credentials — review them separately and ensure they are only granted to trusted integrations.
- Code review and trust: the code is short and readable; if you have security concerns, inspect the script locally (it only calls requests.get and prints JSON). Verify the source (homepage points to a generic workspace) and prefer installing from repositories you trust.
Overall: coherent and low-risk for typical use, with the main remaining concerns being unencrypted HTTP traffic and safe operational practices (non-root execution, appropriate polling cadence).
Capability Analysis
Type: OpenClaw Skill
Name: etf-monitor
Version: 1.0.0
The etf-monitor skill is a legitimate tool for tracking ETF price fluctuations using the public Tencent Finance API (qt.gtimg.cn). The Python script (etf-monitor.py) and documentation (SKILL.md, README.md) contain no evidence of data exfiltration, malicious execution, or prompt injection, and the code logic strictly aligns with the stated purpose of monitoring financial data.
Capability Assessment
Purpose & Capability
Name, description, SKILL.md and the included Python script all align: the script fetches ETF quotes from Tencent Finance (qt.gtimg.cn), computes percent change against last close, and emits alerts when threshold is exceeded. No unrelated binaries, credentials, or config paths are requested.
Instruction Scope
Runtime instructions tell the agent/user to run the included Python script and optionally add a cron job. The script makes outbound HTTP requests to qt.gtimg.cn and prints JSON alerts to stdout. Notes: the SKILL.md examples use a hard-coded example path under /root/.openclaw which may not match target environments; the Tencent API endpoint is accessed over HTTP (not HTTPS), which allows potential MITM or eavesdropping on requests/responses.
Install Mechanism
No install spec; it's an instruction-only skill with a single Python script. Metadata notes pip dependency 'requests' which matches the code's import. No remote downloads, no archive extraction, and no unusual installers.
Credentials
The skill requires no environment variables, no credentials, and does not read system config paths. The requested resources are proportionate to a simple market-monitoring script.
Persistence & Privilege
always is false, model invocation is normal. The skill does not attempt to modify other skills, system-wide agent settings, or persist credentials. Running it as a cron job is a user action, not forced by the skill.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install etf-monitor - After installation, invoke the skill by name or use
/etf-monitor - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
etf-monitor v1.0.0
- 实时监控多只 ETF 的价格波动,超出设定阈值时自动告警
- 集成腾讯财经 API,免费且无需 Token
- 支持静默模式,无波动时不推送告警
- 用户可自定义监控列表及波动阈值
- 提供定时任务范例与输出格式说明
Metadata
Frequently Asked Questions
What is etf-monitor?
ETF 波动监控 - 实时跟踪 ETF 涨跌幅,超过阈值自动告警. It is an AI Agent Skill for Claude Code / OpenClaw, with 282 downloads so far.
How do I install etf-monitor?
Run "/install etf-monitor" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is etf-monitor free?
Yes, etf-monitor is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does etf-monitor support?
etf-monitor is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created etf-monitor?
It is built and maintained by zitjubiz (@zitjubiz); the current version is v1.0.0.
More Skills