← 返回 Skills 市场
stock-manage-skill
作者
a925907195
· GitHub ↗
· v1.0.2
· MIT-0
217
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install stock-manage-skill
功能描述
股票管理技能,支持股票订单管理、交易规则管理和股票信息获取。支持A股、港股、美股等多种股票类型,使用本地文本目录存储数据。Use when user wants to manage stock orders, trading rules or get stock information including add...
安全使用建议
This skill appears internally consistent with its stated purpose. Before installing: (1) be aware it will install Python packages from PyPI (requests, akshare, yfinance, pandas) — review those dependencies and install in a virtual environment; (2) the skill makes outbound HTTP(S) requests to public finance APIs (qt.gtimg.cn, hq.sinajs.cn, Yahoo/akshare) to fetch data; ensure this is acceptable in your environment; (3) it stores data and logs under a local data/ directory (orders, rules, stock_info, logs) and creates backups — confirm file location and permissions; (4) run the code in a sandbox or review the code yourself if you need higher assurance. No credentials are required by the skill.
功能分析
Type: OpenClaw Skill
Name: stock-manage-skill
Version: 1.0.2
The stock-manage-skill bundle is a legitimate tool for managing stock orders, trading rules, and fetching market data. It interacts with well-known financial APIs (Tencent, Sina, Yahoo Finance) and uses local JSON files for data persistence. The code demonstrates standard security practices, such as basic input validation for file deletions and automated log rotation, with no evidence of data exfiltration, malicious execution, or harmful prompt injection instructions in SKILL.md.
能力评估
Purpose & Capability
Name/description match the delivered artifacts: modules implement order management, rule management, stock-info fetching, and log management. Required packages (requests, akshare, yfinance, pandas) are appropriate for fetching and processing market data.
Instruction Scope
SKILL.md and code instruct the agent to run local Python commands and operate on local files under a data/ directory. The instructions do not request unrelated system files, credentials, or exfiltration to unexpected endpoints; network calls are limited to public finance APIs (Tencent, Sina, Yahoo, akshare/yfinance).
Install Mechanism
There is no install spec but repository includes Python code and a requirements.txt pointing to PyPI packages. This is normal but means pip install of dependencies will be required before use (moderate risk from third-party packages). No downloads from arbitrary URLs or archives were found.
Credentials
The skill requests no environment variables or credentials (primaryEnv none). That is proportionate: the code uses public APIs and local file storage. No secrets are required or referenced in the source.
Persistence & Privilege
always:false and user-invocable:true (defaults) — normal. The skill writes only to its own data/ subdirectories (orders, rules, stock_info, logs) and does not modify other skills or global agent settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install stock-manage-skill - 安装完成后,直接呼叫该 Skill 的名称或使用
/stock-manage-skill触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
- No file changes detected in this version.
- Documentation and configuration instructions were expanded in SKILL.md.
- Added sections for 配置说明 and 注意事项 to clarify configuration and important usage notes.
- No feature, API, or command changes. Functionality remains the same as previous version.
v1.0.1
**Trading rule management is now supported, with new CRUD commands and rule backups.**
- Added trading rule management features (CRUD for buy/sell rules, rule enable/disable, rule filters).
- Introduced new file: `stock_rule.py` for rule logic.
- Stock rules stored in local files with backup and restore support.
- Removed `README.md` (replaced or consolidated into documentation).
- Updated skill description and usage examples for integrated order, rule, and stock info management.
v1.0.0
Stock Manager v1.0.0
- Initial release with comprehensive local stock management features.
- Supports CRUD operations for stock buy orders across A-shares, Hong Kong, and US stocks, with local JSON data storage and automatic order backup.
- Provides real-time stock information retrieval from multiple markets and sources, with per-day archiving and automatic data cleanup.
- Includes detailed log management: listing, cleanup, size checking, and manual deletion.
- Command-line and OpenClaw integration for all stock/order/log functions, including intelligent stock code market recognition and parameter mapping.
- No external dependencies for order management; stock info retrieval uses public APIs online.
📊 Stock Manager - 股票管理技能
这是一个本地化的股票管理系统,支持订单管理和股票信息获取。
核心功能
1. 股票订单管理
• 添加/查看/更新/删除买入订单
• 记录股票代码、名称、价格、数量、交易平台、状态
• 支持按状态、类型、平台筛选订单
• 自动备份机制
2. 股票信息获取
• 支持A股、港股、美股
• 实时行情数据(优先腾讯证券API)
• 按日期存储股票信息
• 自动清理30天前的数据
3. 日志管理
• 自动清理7天前的旧日志
所有数据本地存储,无需联网(获取股票信息除外)。
git地址:https://github.com/a925907195/stock_manage_skill
元数据
常见问题
stock-manage-skill 是什么?
股票管理技能,支持股票订单管理、交易规则管理和股票信息获取。支持A股、港股、美股等多种股票类型,使用本地文本目录存储数据。Use when user wants to manage stock orders, trading rules or get stock information including add... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 217 次。
如何安装 stock-manage-skill?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install stock-manage-skill」即可一键安装,无需额外配置。
stock-manage-skill 是免费的吗?
是的,stock-manage-skill 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
stock-manage-skill 支持哪些平台?
stock-manage-skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 stock-manage-skill?
由 a925907195(@a925907195)开发并维护,当前版本 v1.0.2。
推荐 Skills