← Back to Skills Marketplace
351
Downloads
1
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install sim-trade
Description
A 股模拟交易盘 - 支持真实行情、多平台模拟盘连接、持仓管理、盈亏计算
Usage Guidance
This skill appears to do exactly what it says: a local simulated A‑share trading tool that can optionally connect to third‑party simulated accounts if you paste session cookies or broker tokens into ~/.openclaw/sim_trade/config.json. Before installing: (1) Understand that adding browser Cookies or broker tokens grants the skill access to that account data — store them only if you trust the environment and delete them when not needed. (2) Protect the config directory (file permissions) because credentials are stored in plaintext. (3) If you don't need real platform syncing, use the default 'local' mode to avoid exposing credentials. (4) The SKILL.md examples that use ~ inside Python string literals may not expand to your home directory; double-check paths when running the provided commands. (5) The skill depends on the requests package — ensure your environment provides it. Overall the package is coherent and not suspicious, but treat any pasted cookies or API tokens as sensitive secrets.
Capability Analysis
Type: OpenClaw Skill
Name: sim-trade
Version: 1.1.0
The skill bundle is a functional A-share stock trading simulator that uses local JSON files for portfolio management and fetches real-time market data from a legitimate public API (Tencent Finance at qt.gtimg.cn). While the documentation (SKILL.md) and sync script (sync.py) mention the use of browser cookies for optional integration with external platforms like Eastmoney, the provided code contains no logic for credential exfiltration, unauthorized network communication, or malicious persistence; it primarily provides instructions for manual user configuration.
Capability Assessment
Purpose & Capability
Name/description (模拟交易盘) align with the included scripts: account, positions, trade, quote, sync, etc. Required resources (none declared) and the code's dependencies (requests) are appropriate for fetching quotes and running a local simulator.
Instruction Scope
SKILL.md and scripts operate on local files under ~/.openclaw/sim_trade and call public quote APIs (qt.gtimg.cn). The README instructs users how to copy browser Cookies for connecting to third‑party simulated platforms; that legitimately requires adding session cookies or broker tokens to config.json, but storing such secrets in plaintext is a risk the user must accept. Minor usability issue: example python -c commands in SKILL.md use a literal '~' inside a Python string which will not expand to the home directory, possibly writing to a filename that literally starts with '~/'.
Install Mechanism
No install spec; this is instruction + code that runs with the system Python and the requests package (declared in skill.json). No downloads or third‑party install URLs are used by the skill itself.
Credentials
The skill requests no environment variables or external credentials at install time. It does provide a config.json where users may place cookies or broker tokens if they choose to connect to real simulated accounts — that is proportionate to the claimed capability but does mean secrets will be stored locally in cleartext unless the user protects the file.
Persistence & Privilege
always:false and no code modifies other skills or global agent settings. The skill creates/reads files only under ~/.openclaw/sim_trade, which is appropriate for its function.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install sim-trade - After installation, invoke the skill by name or use
/sim-trade - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.1.0
**Sim Trade 1.1.0 — 支持真实行情和多平台模拟盘接入**
- 新增行情查询脚本 `quote.py`,支持实时行情显示
- 新增 `sync.py`,为同步真实模拟盘或券商账户做准备
- 交易系统现在支持多平台(本地、东方财富、同花顺、券商)配置和切换
- 文档全面更新,增加多平台连接方法和行情查询说明
- 优化本地账户与持仓展示脚本,兼容新功能与多数据来源
v1.0.0
Sim Trade 1.0.0 初始版本发布
- 支持A股模拟买入/卖出(市价、限价)、持仓管理和盈亏计算
- 提供账户资金统计、实时持仓盈亏、完整交易记录查询
- 简单脚本操作,命令行快速模拟实盘流程
- 自定义初始资金和手续费等交易参数
- 提供详细文档、示例及基础配置说明
Metadata
Frequently Asked Questions
What is Sim Trade?
A 股模拟交易盘 - 支持真实行情、多平台模拟盘连接、持仓管理、盈亏计算. It is an AI Agent Skill for Claude Code / OpenClaw, with 351 downloads so far.
How do I install Sim Trade?
Run "/install sim-trade" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Sim Trade free?
Yes, Sim Trade is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Sim Trade support?
Sim Trade is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Sim Trade?
It is built and maintained by wran93409 (@wran93409); the current version is v1.1.0.
More Skills