etf-monitor

v1.0.0

ETF 波动监控 - 实时跟踪 ETF 涨跌幅,超过阈值自动告警

0· 281·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for zitjubiz/etf-monitor.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "etf-monitor" (zitjubiz/etf-monitor) from ClawHub.
Skill page: https://clawhub.ai/zitjubiz/etf-monitor
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install etf-monitor

ClawHub CLI

Package manager switcher

npx clawhub@latest install etf-monitor
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
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.
Assessment
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).

Like a lobster shell, security has layers — review code before you run it.

Runtime requirements

📊 Clawdis
latestvk97e9d38d1axhp8dtdx7n63899835xgb
281downloads
0stars
1versions
Updated 1mo ago
v1.0.0
MIT-0

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

注意事项

  1. 需要网络连接访问腾讯财经 API
  2. 行情数据可能有 1-2 分钟延迟
  3. 建议阈值设置为 1%-3% 之间

版本: v5
最后更新: 2026-03-18

Comments

Loading comments...