← Back to Skills Marketplace
A股股票交易助手
by
Sunxianzheng
· GitHub ↗
· v2.0.0
· MIT-0
497
Downloads
0
Stars
5
Active Installs
11
Versions
Install in OpenClaw
/install stock-trader
Description
A股股票分析助手。支持实时股价查询、批量查询、财经新闻、潜力股分析、行业资金流向、龙头股分析、消息面情感分析、激进型模拟交易。触发场景:(1) 查询股票实时价格 (2) 分析消息面预测走势 (3) 行业资金+龙头分析 (4) 激进型模拟交易 (5) 制定买卖策略。
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install stock-trader - After installation, invoke the skill by name or use
/stock-trader - Provide required inputs per the skill's parameter spec and get structured output
Version History
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
首发版本
Metadata
Frequently Asked Questions
What is A股股票交易助手?
A股股票分析助手。支持实时股价查询、批量查询、财经新闻、潜力股分析、行业资金流向、龙头股分析、消息面情感分析、激进型模拟交易。触发场景:(1) 查询股票实时价格 (2) 分析消息面预测走势 (3) 行业资金+龙头分析 (4) 激进型模拟交易 (5) 制定买卖策略。 It is an AI Agent Skill for Claude Code / OpenClaw, with 497 downloads so far.
How do I install A股股票交易助手?
Run "/install stock-trader" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is A股股票交易助手 free?
Yes, A股股票交易助手 is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does A股股票交易助手 support?
A股股票交易助手 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created A股股票交易助手?
It is built and maintained by Sunxianzheng (@sunxianzheng); the current version is v2.0.0.
More Skills