← 返回 Skills 市场
Quant Trading Api
作者
jason-aka-chen
· GitHub ↗
· v1.0.0
· MIT-0
131
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install quant-trading-api
功能描述
Professional quantitative trading API integration for Chinese securities. Supports major Chinese brokers (华泰, 银河, 广发, 中信建投) with order management, position t...
安全使用建议
What to consider before installing:
- Expectation mismatch: the code appears to be a mock/simulator (fake tokens, simulated fills). Do not assume it will connect to real broker APIs without further implementation or verification.
- Credentials handling: SKILL.md suggests putting account/password into config.py (plaintext). That is insecure. Prefer using environment variables or a secret manager and do not commit credentials to source control.
- Undeclared secrets: the skill metadata declares no required env vars or primary credential even though the code needs brokerage credentials. Treat that as a red flag — confirm how credentials are supplied and stored before use.
- Audit network behavior: the BROKERS map contains real broker domains. Before running with real credentials or real money, review the entire source (including truncated parts) for any calls to unknown/third-party endpoints or logging of credentials. Run the code in a sandbox or test account first.
- Dependency caution: the skill tells you to pip install pycryptodome and websocket-client. Those are common, but installing third-party packages always carries supply-chain risk; pin versions and inspect dependencies if possible.
- If you need production trading: get a connector from a vetted provider or implement a well-documented authenticated client using brokers' official SDKs/APIs. If the author intends this to be a placeholder, ask for documentation that explicitly states what is mock vs. real and how to securely configure credentials.
Confidence note: medium — the visible portion of the code shows mock behavior and insecure credential guidance, but the file is truncated and may contain additional network calls or hidden endpoints. Reviewing the remainder of quant_trading.py and any other files (or asking the author for confirmation) would raise confidence.
功能分析
Type: OpenClaw Skill
Name: quant-trading-api
Version: 1.0.0
The quant-trading-api skill bundle is a mock implementation of a quantitative trading framework for Chinese brokers. The Python code in quant_trading.py provides a skeleton for market data retrieval and order management using simulated data, and while it imports the requests library, it does not perform any actual network communication or data exfiltration. The SKILL.md file contains standard documentation and usage examples without any evidence of prompt injection or malicious instructions.
能力评估
Purpose & Capability
The README/SKILL.md states full integration with multiple Chinese brokers, but the included code uses mock implementations (fake tokens, simulated fills, mocked market data) rather than actual authenticated broker API calls. The BROKERS map contains real broker hostnames, but the visible code does not perform real authenticated trading requests. This is a coherence problem: a user expecting a working production connector would not get one from the provided code.
Instruction Scope
Instructions ask you to install Python packages and to create a config.py that contains account and password in plaintext. The code reads credentials from constructor args or environment (BROKER_ACCOUNT, BROKER_PASSWORD) but the registry metadata declares no required env vars. The skill therefore instructs/encourages insecure handling of credentials (storing them in repo files) and omits declaring required secrets.
Install Mechanism
There is no install spec; SKILL.md instructs users to pip install requests, pycryptodome, websocket-client. That is a typical, expected dependency installation for a Python skill. No unusual download URLs or archive extraction were used.
Credentials
The skill clearly needs brokerage credentials to be useful, but the package metadata lists no required environment variables or primary credential. The SKILL.md recommends placing account/password in config.py (a file) and the code falls back to environment variables — a mismatch. Requesting/storing plaintext broker credentials in a file is disproportionate and risky without guidance on secure storage.
Persistence & Privilege
The skill does not request always:true, does not modify other skills or system-wide configuration, and is user-invocable only. It can be autonomously invoked by the agent by default (platform default), which is expected for skills.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install quant-trading-api - 安装完成后,直接呼叫该 Skill 的名称或使用
/quant-trading-api触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of quant-trading-api.
- Integrates with major Chinese securities brokers (华泰, 银河, 广发, 中信建投, 同花顺)
- Provides real-time and historical market data, order management, and position tracking
- Features automated trading workflows, including scheduled and conditional orders, stop loss/take profit
- Includes detailed usage examples, configuration instructions, and API reference
- Supports error handling with common error codes and best practice recommendations
元数据
常见问题
Quant Trading Api 是什么?
Professional quantitative trading API integration for Chinese securities. Supports major Chinese brokers (华泰, 银河, 广发, 中信建投) with order management, position t... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 131 次。
如何安装 Quant Trading Api?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install quant-trading-api」即可一键安装,无需额外配置。
Quant Trading Api 是免费的吗?
是的,Quant Trading Api 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Quant Trading Api 支持哪些平台?
Quant Trading Api 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Quant Trading Api?
由 jason-aka-chen(@jason-aka-chen)开发并维护,当前版本 v1.0.0。
推荐 Skills