← Back to Skills Marketplace
jessecq1995

Mx Stock Simulator

by Jessecq1995 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
107
Downloads
0
Stars
5
Active Installs
1
Versions
Install in OpenClaw
/install mx-stock-simulator
Description
妙想提供的股票模拟组合管理系统,支持持仓查询、买卖操作、撤单、委托查询、历史成交查询和资金查询等功能。通过安全认证的API接口实现真实交易体验。
Usage Guidance
该技能总体上看起来在功能上与“模拟交易”用途一致,但存在多处元数据/文件不一致和文档小问题: - 在提供真实或高权限的 MX_APIKEY 之前,验证发布者与来源:注册表 ownerId/slug 与 _meta.json 不一致,缺少主页/发布者信息,这可能只是打包错误,但也可能表示未经授权的二次发布。联系发布者或在可信渠道确认。 - 默认 API 主机为 https://mkapi2.dfcfs.com/finskillshub;确认该域名是否属于你信任的服务提供方。该技能会把你的 apikey 放到请求 header 并发送到该域。 - 包含 Python 脚本并提供 requirements.txt,但没有安装说明:确保在受控/沙箱环境中运行,或先手动安装依赖(requests)。避免在生产环境直接使用未经核实的脚本。 - 如果你必须测试,先使用无敏感权限的测试 API Key(或短期/只读密钥),并在隔离环境中运行,检查输出文件和网络请求(例如使用代理/抓包)。 若发布者能解释并修正以下问题,风险会降低:统一并修正注册表元数据(ownerId/slug/required envs),在 SKILL.md 中提供明确的安装步骤,及公布可信的发布主页/联系方式。
Capability Analysis
Type: OpenClaw Skill Name: mx-stock-simulator Version: 1.0.0 The skill is a legitimate integration for the East Money (dfcfs.com) stock simulation platform, providing tools for managing simulated portfolios, including position queries, trading, and balance checks. The Python script `mx_stock_simulator.py` and the documentation in `SKILL.md` correctly implement the logic for interacting with the official API endpoint `mkapi2.dfcfs.com` using a provided API key. No malicious behaviors, such as unauthorized data exfiltration, persistence mechanisms, or harmful prompt injections, were detected.
Capability Assessment
Purpose & Capability
技能声明为模拟股票组合管理,代码和 SKILL.md 的 API 路径(/api/claw/mockTrading/...)与该用途一致。问题是注册表元数据与 SKILL.md/_meta.json 存在不一致(不同 ownerId、slug、以及注册表上显示“无需环境变量”但 SKILL.md 强制要求 MX_APIKEY),提示可能是复制/打包错误或版本混合。
Instruction Scope
SKILL.md 和脚本都只指导向指定 API 端点发送 POST 请求并将结果写入工作目录,范围与声明功能一致。值得注意的是文档中混用了 shell 与 process.env 风格的示例(JS 风格的 process.env 在 shell 示例中出现),以及明确写出输出目录 /root/.openclaw/workspace/mx_data/output,会在 agent 环境中写入响应数据——功能上合理但应知情。
Install Mechanism
包内含有 Python 脚本和 scripts/requirements.txt(requests),但没有 install spec。没有安装步骤意味着依赖可能不会自动满足,或平台假定运行环境已有 requests。缺少安装说明与包含代码的事实不完全一致,属于可疑差错,需要确认如何部署依赖。
Credentials
运行仅需 MX_APIKEY(用于 apikey header)和可选 MX_API_URL,这与功能匹配;但注册表顶层元数据宣称“Required env vars: none”且 primary credential 在 registry 中空白,而 SKILL.md 明确把 MX_APIKEY 作为必需秘钥并标为 primary。元数据不一致会误导用户,且脚本会把该密钥发送到默认域 mkapi2.dfcfs.com(finskillshub),在提供密钥前应验证该域和密钥来源的可信度。
Persistence & Privilege
技能没有请求 always:true,也不修改其他技能或系统配置。写文件到其自有输出目录是正常行为。
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install mx-stock-simulator
  3. After installation, invoke the skill by name or use /mx-stock-simulator
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
mx-stock-simulator 1.0.0 - Initial release of the stock portfolio simulation management skill. - Supports portfolio position queries, buy/sell operations, order cancellation, order queries, historical trade inquiries, and fund queries. - Provides a realistic simulation trading experience via secure API integration. - Designed exclusively for A-share virtual trading (not for live trading or other markets). - Requires API key and base URL configuration via environment variables.
Metadata
Slug mx-stock-simulator
Version 1.0.0
License MIT-0
All-time Installs 5
Active Installs 5
Total Versions 1
Frequently Asked Questions

What is Mx Stock Simulator?

妙想提供的股票模拟组合管理系统,支持持仓查询、买卖操作、撤单、委托查询、历史成交查询和资金查询等功能。通过安全认证的API接口实现真实交易体验。 It is an AI Agent Skill for Claude Code / OpenClaw, with 107 downloads so far.

How do I install Mx Stock Simulator?

Run "/install mx-stock-simulator" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Mx Stock Simulator free?

Yes, Mx Stock Simulator is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Mx Stock Simulator support?

Mx Stock Simulator is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Mx Stock Simulator?

It is built and maintained by Jessecq1995 (@jessecq1995); the current version is v1.0.0.

💬 Comments