← Back to Skills Marketplace
sanduan003

港股美股监控

by sanduan003 · GitHub ↗ · v1.1.0
cross-platform ⚠ suspicious
846
Downloads
0
Stars
9
Active Installs
2
Versions
Install in OpenClaw
/install stock-monitor-hkus
Description
港股/美股/加密货币实时监控。使用 Yahoo Finance (yfinance) 获取实时价格、技术指标监控。支持自定义股票池、涨跌提醒、均线/RSI/MACD信号。
Usage Guidance
This skill appears to do exactly what it claims: fetch market data via yfinance, compute indicators, print results, and save a small state file. Before installing or running it: 1) Inspect and (preferably) change the hard-coded state path '/Users/apple/.openclaw/workspace/memory/stocks_monitor.json' to a path appropriate for your environment or make it configurable; otherwise it may fail or write into an unexpected home directory. 2) Install packages inside a virtualenv (avoid '--break-system-packages') to prevent altering system Python packages. 3) Confirm you are comfortable with the script contacting Yahoo Finance (yfinance) over the network. 4) If you plan automated runs (cron), ensure the working directory and Python environment are set correctly. 5) If you need alerts or external posting, add explicit code that sends data to your chosen endpoint and review that code carefully before supplying credentials.
Capability Analysis
Type: OpenClaw Skill Name: stock-monitor-hkus Version: 1.1.0 The skill provides stock and cryptocurrency monitoring using the yfinance library. However, `scripts/monitor.py` contains a hardcoded absolute file path (`/Users/apple/.openclaw/workspace/memory/stocks_monitor.json`) for saving state, which is a significant implementation flaw and a potential security risk if the environment matches the hardcoded path. While there is no evidence of intentional data exfiltration or backdoors, the use of specific absolute paths instead of relative workspace paths is considered a high-risk vulnerability.
Capability Assessment
Purpose & Capability
Name/description (real-time monitoring using yfinance, indicators, alerts) match the included script: it fetches data via yfinance, computes MA/RSI/MACD and prints results. Requiring yfinance and numpy is appropriate.
Instruction Scope
SKILL.md instructs to install yfinance/numpy and run scripts/monitor.py, which is accurate. The script only fetches market data and writes a small JSON state file, so runtime behavior stays within the declared purpose. However the SKILL.md references a relative state path 'memory/stocks_monitor.json' while the script writes to a hard-coded absolute path '/Users/apple/.openclaw/workspace/memory/stocks_monitor.json' — an inconsistency that may cause file-write failures or unintended writes to a user-specific location.
Install Mechanism
This is an instruction-only skill with no install spec. SKILL.md asks users to run 'pip3 install yfinance numpy --break-system-packages'. Installing these packages is expected, but the '--break-system-packages' flag is unusual and can alter system Python package protections; recommend using a virtual environment instead.
Credentials
The skill requests no environment variables or credentials. The only external dependency is network access to Yahoo Finance via yfinance, which is appropriate for the stated functionality.
Persistence & Privilege
always:false and the skill does not modify other skills or system settings. It does persist a small JSON state file to a hard-coded user path (/Users/apple/...), which is a low-privilege action but user-specific and brittle; consider making the path configurable or relative to the agent workspace.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install stock-monitor-hkus
  3. After installation, invoke the skill by name or use /stock-monitor-hkus
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.1.0
**新增:支持更多技术指标和加密货币行情** - 新增 RSI 和 MACD 技术指标监控与信号判断,优化均线分析 - 默认股票池扩展覆盖港股、美股与加密货币主流标的 - 支持 numpy 库,相关依赖更新完善 - 简化并优化自定义股票池、信号展示和输出格式 - 新增 _meta.json 文件以提升技能元数据管理
v1.0.0
- Initial release: real-time monitoring for Hong Kong and US stocks using Yahoo Finance (yfinance). - Supports custom stock pool, price alerts, moving average and crossover signals. - Provides real-time prices, 5-day price change, and volume statistics. - Technical indicators: MA5/MA10, crossover detection, price position analysis. - Output monitoring summaries with signal recommendations (持有/观望/上涨/下跌). - Cron job support for automated periodic checks.
Metadata
Slug stock-monitor-hkus
Version 1.1.0
License
All-time Installs 9
Active Installs 9
Total Versions 2
Frequently Asked Questions

What is 港股美股监控?

港股/美股/加密货币实时监控。使用 Yahoo Finance (yfinance) 获取实时价格、技术指标监控。支持自定义股票池、涨跌提醒、均线/RSI/MACD信号。 It is an AI Agent Skill for Claude Code / OpenClaw, with 846 downloads so far.

How do I install 港股美股监控?

Run "/install stock-monitor-hkus" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 港股美股监控 free?

Yes, 港股美股监控 is completely free (open-source). You can download, install and use it at no cost.

Which platforms does 港股美股监控 support?

港股美股监控 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 港股美股监控?

It is built and maintained by sanduan003 (@sanduan003); the current version is v1.1.0.

💬 Comments