← 返回 Skills 市场
213
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install stock-portfolio
功能描述
股票组合管理与预警技能。支持 A 股/港股/美股行情查询、持仓跟踪、收益计算、价格预警、每日推荐。使用免费 API(腾讯财经),数据本地存储。
安全使用建议
This skill appears internally consistent for a local stock portfolio manager: it only calls public finance APIs and stores JSON files in its own data directory. Before installing/run:
- Review the full code (you received some truncated file listings) to confirm there are no hidden network calls or unexpected behavior. Run it in a sandbox or VM first.
- Note a code bug: data_sources.py (DataSourceManager) shows a likely typo/bug (assignment to undefined name 'source') — expect runtime errors; consider fixing or reviewing the module before use.
- Cron examples assume /root paths and show piping output into openclaw message send; if you configure cron, ensure the target chat ID and message command are correct and trusted — otherwise alerts/reports could be sent to external recipients.
- The skill uses unencrypted HTTP endpoints for some APIs (qt.gtimg.cn, hq.sinajs.cn, push2.eastmoney.com). That can be tampered with on insecure networks; consider switching to HTTPS-capable sources (Yahoo/official HTTPS endpoints) or run behind a trusted network.
- Data privacy: holdings/alerts/history are stored locally under the skill workspace; back them up if important. The skill does not exfiltrate this data on its own, but any cron or notification configuration that sends data to third-party messaging channels will transmit it.
If you want higher assurance, ask the author for a corrected/reviewed data_sources.py, or run a line-by-line audit and unit tests (especially network code) before making the skill autonomous.
功能分析
Type: OpenClaw Skill
Name: stock-portfolio
Version: 1.0.0
The stock-portfolio skill is a legitimate tool for tracking stock prices and managing a personal portfolio using public, unauthenticated APIs from Tencent, Sina, and EastMoney. The Python scripts (stock_fetch.py, portfolio_manager.py, daily_picks.py) use standard libraries to fetch market data and store user holdings locally in JSON format. No evidence of data exfiltration, unauthorized network calls, or malicious prompt injection was found.
能力评估
Purpose & Capability
Name/description (portfolio management, alerts, daily picks) align with the files and runtime instructions. The only network activity is toward public finance APIs (Tencent, Sina, EastMoney, Yahoo) which is expected for this purpose. No environment variables, credentials, or unrelated binaries are requested.
Instruction Scope
SKILL.md directs the agent to run the included Python scripts and optionally set up cron jobs. The scripts operate on local JSON files under a workspace data directory and call public finance HTTP APIs — this matches the documented scope. Notes: cron examples use absolute /root paths and openclaw message send examples (these are just examples but could leak alert output to configured chat targets if misused). Also the free APIs used are HTTP and may be susceptible to MITM or modification in transit.
Install Mechanism
There is no install spec (instruction-only style) — code files are included and nothing is downloaded or installed automatically. This is the lower-risk pattern. You should still review and run code locally rather than allowing any automatic install.
Credentials
The skill requires no credentials or environment variables, and stores data locally in a skill-specific data directory. Requested access is proportionate to a portfolio/alert tool. There are no demands for unrelated secrets or system config paths.
Persistence & Privilege
always:false (not forced into every agent session). The skill stores only its own data under a local data directory and does not modify other skills or global agent config. Cron integration is optional and user-configured.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install stock-portfolio - 安装完成后,直接呼叫该 Skill 的名称或使用
/stock-portfolio触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
股票组合管理与预警技能 - 支持 A 股/港股/美股行情查询、持仓跟踪、收益计算、价格预警、每日推荐
元数据
常见问题
Stock Portfolio 是什么?
股票组合管理与预警技能。支持 A 股/港股/美股行情查询、持仓跟踪、收益计算、价格预警、每日推荐。使用免费 API(腾讯财经),数据本地存储。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 213 次。
如何安装 Stock Portfolio?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install stock-portfolio」即可一键安装,无需额外配置。
Stock Portfolio 是免费的吗?
是的,Stock Portfolio 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Stock Portfolio 支持哪些平台?
Stock Portfolio 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Stock Portfolio?
由 yinshengf(@yinshengf)开发并维护,当前版本 v1.0.0。
推荐 Skills