A Stock Paper Trade
A股模拟炒股系统。当用户需要模拟炒股、查询行情、买卖下单、查看持仓盈亏时触发。支持实时行情、买卖下单、持仓管理、盈亏计算、涨跌排行。关键词:炒股、买入、卖出、持仓、盈亏、行情、涨停、跌停、选股、大盘。 Skill: A Stock Paper Trade Owner: luaqnyin Summary: A股模拟炒股系统。当用户需要模拟炒股、查询行情、买卖下单、查看持仓盈亏时触发。支持实时行情、买卖下单、持仓管理、盈亏计算、涨跌排行。关键词:炒股、买入、卖出、持仓、盈亏、行情、涨停、跌停、选股、大盘。 Tags: latest:1.0.1 Version history: v1.0.1 | 2026-04-10T00:13:11.132Z | auto - Improved SKILL.md description for clearer skill triggers and supported commands. - Updated trigger wording to help users know when the skill will activate. - No functionality changes; docu
Rank
62
Safety
84
Downloads
3.2k
Updated
Oct 9, 2026
Version
1.0.1
Source
CLAWHUB
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 3.2K downloads reported by the source. Last updated 10/9/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · observed Oct 9, 2026
- Protocol compatibility
- OpenClawcompatibility · observed Oct 9, 2026
- Adoption signal
- 3.2K downloadsadoption · observed Oct 9, 2026
- Latest release
- 1.0.1release · observed Apr 10, 2026
- Handshake status
- UNKNOWNsecurity
Install and run
Setup complexity: low.
clawhub skill install s178qe0kda29njgnhv2hnwpbc983kt75:a-stock-paper-trade- Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-luaqnyin-a-stock-paper-trade/snapshot"
Documentation
CLAWHUB
6,731 characters of source documentation, loaded on request.
Extracted files
3 files captured from the source.
SKILL.md
---
name: a-stock-paper-trade
description: A股模拟炒股系统。当用户需要模拟炒股、查询行情、买卖下单、查看持仓盈亏时触发。支持实时行情、买卖下单、持仓管理、盈亏计算、涨跌排行。关键词:炒股、买入、卖出、持仓、盈亏、行情、涨停、跌停、选股、大盘。
metadata:
{
"openclaw":
{
"requires": { "bins": ["python3"] },
"os": ["darwin", "linux", "win32"]
}
}
---
优化日期: 2026-04-02
# A股模拟炒股
本地纸面交易系统,基于 akshare 实时行情。无需任何外部账号,纯模拟。
## 快速开始
```bash
# 初始化账户(100万虚拟资金)
source ~/.agent-reach-venv/bin/activate
python3 {baseDir}/scripts/trader.py init
# 查大盘
python3 {baseDir}/scripts/trader.py quote --all
# 查个股行情
python3 {baseDir}/scripts/trader.py quote 600519 000001
# 搜索股票
python3 {baseDir}/scripts/trader.py search 茅台
# 买入(1手=100股,市价)
python3 {baseDir}/scripts/trader.py buy 600519 1
# 买入(指定价格)
python3 {baseDir}/scripts/trader.py buy 600519 2 --price 1700
# 卖出
python3 {baseDir}/scripts/trader.py sell 600519 1
# 查持仓
python3 {baseDir}/scripts/trader.py positions
# 账户总览
python3 {baseDir}/scripts/trader.py balance
# 交易记录
python3 {baseDir}/scripts/trader.py history --limit 10
# K线
python3 {baseDir}/scripts/trader.py kline 600519 --days 60
# 涨幅TOP10
python3 {baseDir}/scripts/trader.py rank --top 10
# 跌幅TOP10
python3 {baseDir}/scripts/trader.py rank --bottom --top 10
```
## 交易规则
- 最小单位:1手 = 100股
- 佣金:万三(最低5元)
- 印花税:千一(仅卖出)
- 不支持涨跌停价格下单(但当前版本未强制校验,agent 应自行判断)
- 数据来源:东方财富(akshare),仅交易时间内有效
## 费用计算
| 费用 | 买入 | 卖出 |
|------|------|------|
| 佣金 | 万三(最低5元) | 万三(最低5元) |
| 印花税 | — | 千一 |
| 过户费 | — | 忽略(模拟简化) |
## 数据存储
- 位置:`~/.openclaw/paper-trade/portfolio.json`
- 重置:`python3 {baseDir}/scripts/trader.py init --reset`
## 注意
- 行情数据来自 akshare,依赖网络(不需要代理,东方财富国内直连)
- 非 A 股交易时间行情可能不准确
- 所有操作输出 JSON,方便 agent 解析_meta.json
{
"ownerId": "kn70af4gef5e2ejr7rz58ze1ys83ky8c",
"slug": "a-stock-paper-trade",
"version": "1.0.1",
"publishedAt": 1775779991132
}skill-card.md
## Description: A股模拟炒股系统。当用户需要模拟炒股、查询行情、买卖下单、查看持仓盈亏时触发。支持实时行情、买卖下单、持仓管理、盈亏计算、涨跌排行。 This skill is ready for commercial/non-commercial use. ## Publisher: [luaqnyin](https://clawhub.ai/user/luaqnyin) ### License/Terms of Use: MIT-0 ## Use Case: External users and agents use this skill as a local Chinese-language paper-trading helper for A-share market simulation, including quotes, simulated buy and sell orders, holdings, account balance, history, K-line data, rankings, and stock search. ### Deployment Geography for Use: Global ## Known Risks and Mitigations: Risk: Simulated portfolio data is stored locally and may be reset or corrupted. Mitigation: Confirm before reset actions and treat the portfolio file as disposable simulation data rather than an authoritative financial record. Risk: Market quote integrity and input validation are weaker than a production trading tool. Mitigation: Cross-check quotes, trading status, and order constraints before simulated buy or sell decisions, and do not use the output for real financial decisions. ## Reference(s): - [ClawHub skill page](https://clawhub.ai/luaqnyin/skills/a-stock-paper-trade) - [Sina Finance](https://finance.sina.com.cn) ## Skill Output: **Output Type(s):** [Text, JSON, Shell commands, Guidance] **Output Format:** [JSON responses and short text output from local shell commands] **Output Parameters:** [1D] **Other Properties Related to Output:** [Most commands print JSON for agent parsing; market overview output may be plain text.] ## Skill Version(s): 1.0.1 (source: server release evidence) ## Ethical Considerations: Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/luaqnyin/skills/a-stock-paper-trade",
"sourceUrl": "https://clawhub.ai/luaqnyin/skills/a-stock-paper-trade",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-09T09:19:21.570Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-luaqnyin-a-stock-paper-trade/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-luaqnyin-a-stock-paper-trade/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-09T09:19:21.570Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "3.2K downloads",
"href": "https://clawhub.ai/luaqnyin/a-stock-paper-trade",
"sourceUrl": "https://clawhub.ai/luaqnyin/a-stock-paper-trade",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-09T09:19:21.570Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "1.0.1",
"href": "https://clawhub.ai/luaqnyin/a-stock-paper-trade",
"sourceUrl": "https://clawhub.ai/luaqnyin/a-stock-paper-trade",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-04-10T00:13:11.132Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-luaqnyin-a-stock-paper-trade/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-luaqnyin-a-stock-paper-trade/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.0.1",
"description": "- Improved SKILL.md description for clearer skill triggers and supported commands. - Updated trigger wording to help users know when the skill will activate. - No functionality changes; documentation only.",
"href": "https://clawhub.ai/luaqnyin/a-stock-paper-trade",
"sourceUrl": "https://clawhub.ai/luaqnyin/a-stock-paper-trade",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-04-10T00:13:11.132Z",
"isPublic": true
}
]
}Record generated Oct 10, 2026.
