← 返回 Skills 市场
A股股票交易助手
作者
Sunxianzheng
· GitHub ↗
· v2.0.0
· MIT-0
497
总下载
0
收藏
5
当前安装
11
版本数
在 OpenClaw 中安装
/install stock-trader
功能描述
A股股票分析助手。支持实时股价查询、批量查询、财经新闻、潜力股分析、行业资金流向、龙头股分析、消息面情感分析、激进型模拟交易。触发场景:(1) 查询股票实时价格 (2) 分析消息面预测走势 (3) 行业资金+龙头分析 (4) 激进型模拟交易 (5) 制定买卖策略。
安全使用建议
This skill's analysis and query scripts are coherent with its description and mostly safe to inspect or run in a sandbox. Before installing or enabling it broadly, review and decide about two behaviors: (1) set_alert.py will call the 'openclaw' CLI to create a scheduled job that announces messages to channel 'qqbot' and a hard-coded user ID — if you don't want the skill to create persistent scheduled tasks or message external recipients, remove or modify that code and the default user_id; (2) simulate_trading.py writes a trading_record.json to /root/.openclaw/... — confirm this path and storage policy are acceptable in your environment. Also consider running the scripts in an isolated environment first (no production credentials), verify the endpoints contacted (qt.gtimg.cn, finance.sina.com.cn, EastMoney) are acceptable, and audit/limit network access if needed. If you lack trust in the unknown source, avoid enabling the cron/announcement functionality or strip out openclaw CLI invocations before use.
功能分析
Type: OpenClaw Skill
Name: stock-trader
Version: 2.0.0
The stock-trader skill bundle provides a functional suite for A-share market analysis, including price queries, sentiment analysis, and simulated trading. The scripts (e.g., get_price.py, analyze_fund_flow.py) fetch real-time data from legitimate financial endpoints like Tencent (gtimg.cn) and Eastmoney using subprocess calls to curl. While set_alert.py contains a hardcoded user_id for cron notifications, which is a poor practice, there is no evidence of data exfiltration, malicious command execution, or harmful prompt injection. The code logic remains strictly aligned with the stated purpose of a financial assistant.
能力评估
Purpose & Capability
Name/description match the included scripts: price queries, news/sentiment analysis, sector/fund-flow analysis, batch queries and a simulated aggressive trading strategy. Network requests go to public financial endpoints (qt.gtimg.cn, finance.sina.com.cn, EastMoney), which is expected for real-time data. The only slightly surprising capability is the ability to schedule platform cron jobs and send alerts (set_alert.py) — this is related to the advertised 'price monitor' feature but elevates the skill from passive analysis to active platform interaction.
Instruction Scope
SKILL.md instructs running the included scripts only, which is accurate. However, set_alert.py constructs and invokes an 'openclaw cron add' command to create scheduled jobs that will run in the OpenClaw environment and target a channel 'qqbot' and a hard-coded user_id. That creates persistent external-visible actions (announcements/messages) without prompting for explicit consent in SKILL.md. simulate_trading.py writes/reads a trading record under /root/.openclaw/... — acceptable for a skill but notable as it modifies platform state.
Install Mechanism
No install specification; the skill is instruction+scripts only and does not download or extract external archives. That minimizes install-time risk.
Credentials
The skill requests no environment variables or credentials, which is consistent. It does hard-code an OpenClaw target user id (D3AA9A40183306D5A885AB9BE7581B06) and a channel name ('qqbot') in set_alert.py; this is not secret-exfiltrating but is an implicit requirement/assumption about the runtime environment (presence of openclaw CLI, available channel and user). It also assumes write access to the skill workspace path.
Persistence & Privilege
While 'always' is false, set_alert.py calls the OpenClaw CLI to add a cron job (--cron 0 16 * * 1-5) that will persist platform-side and announce messages. This grants the skill the ability to create scheduled/persistent actions in the platform and to target a (hard-coded) recipient/channel. That persistent behavior and cross-component messaging is beyond simple read-only analysis and should be considered a privilege escalation risk if you don't expect persistence.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install stock-trader - 安装完成后,直接呼叫该 Skill 的名称或使用
/stock-trader触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.0.0
完整版:股价查询、潜力股、资金流向、龙头股、消息面分析、激进型模拟交易
v1.5.3
新增激进型模拟交易
v1.5.2
新增激进型模拟交易功能
v1.5.1
新增:激进型模拟交易,5万起步,每日收盘报告
v1.5.0
新增:激进型模拟交易功能,5万起步,每日收盘报告
v1.4.1
新增:消息面分析+股价走势预测
v1.4.0
新增:消息面分析+股价走势预测功能
v1.3.0
新增:资金流入行业+龙头股综合分析
v1.2.0
新增:行业主力资金流向分析功能
v1.1.0
新增:财经新闻获取、潜力股分析功能
v1.0.0
首发版本
元数据
常见问题
A股股票交易助手 是什么?
A股股票分析助手。支持实时股价查询、批量查询、财经新闻、潜力股分析、行业资金流向、龙头股分析、消息面情感分析、激进型模拟交易。触发场景:(1) 查询股票实时价格 (2) 分析消息面预测走势 (3) 行业资金+龙头分析 (4) 激进型模拟交易 (5) 制定买卖策略。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 497 次。
如何安装 A股股票交易助手?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install stock-trader」即可一键安装,无需额外配置。
A股股票交易助手 是免费的吗?
是的,A股股票交易助手 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
A股股票交易助手 支持哪些平台?
A股股票交易助手 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 A股股票交易助手?
由 Sunxianzheng(@sunxianzheng)开发并维护,当前版本 v2.0.0。
推荐 Skills