← 返回 Skills 市场
3880
总下载
2
收藏
34
当前安装
1
版本数
在 OpenClaw 中安装
/install a-share-real-time-data
功能描述
Fetch China A-share stock market data (bars, realtime quotes, tick-by-tick transactions) via mootdx/TDX protocol. Use when working with Chinese stock data, mootdx library, TDX quotes, intraday minute bars, transaction history, or real-time A-share market data.
安全使用建议
Use this in an isolated Python environment and consider pinning/reviewing the mootdx dependency versions. Be aware that the trading-hour bypass may return empty, stale, or unexpected data outside normal market conditions, so validate timestamps and trading calendars before relying on the output for financial automation.
功能分析
Type: OpenClaw Skill
Name: a-share-real-time-data
Version: 1.0.0
The skill bundle is designed to fetch China A-share stock market data using the `mootdx` library. The `SKILL.md` and `scripts/setup_and_verify.py` files clearly document and implement a monkey-patch (`tdxpy.hq.time_frame = lambda: True`) to bypass a timezone-related trading hour check in the underlying `tdxpy` library. While monkey-patching can be a risky capability, it is openly declared, explained with a clear functional justification, and limited to a specific function, not indicating malicious intent. There is no evidence of data exfiltration, persistence, unauthorized execution, or prompt injection against the agent beyond the stated purpose of fetching stock data.
能力评估
Purpose & Capability
The artifacts consistently describe fetching China A-share bars, real-time quotes, and transaction data through mootdx/TDX, and the observed code supports setup, verification, connectivity testing, and demos for that purpose.
Instruction Scope
The skill explicitly documents and implements a tdxpy.hq.time_frame monkey patch to bypass trading-hour checks; this changes library semantics during the Python process, but it is disclosed and tied to the stated timezone/data-access problem.
Install Mechanism
The setup script runs pip install mootdx unless --check is used, so users inherit normal dependency and supply-chain risk from installing mootdx, tdxpy, pandas, and their transitive packages.
Credentials
The script connects to external TDX market-data services and sends requested stock symbols as part of market-data retrieval, which is expected for this skill; no credential use or private local-file access is evidenced.
Persistence & Privilege
No background service, autostart behavior, credential storage, privilege escalation, destructive action, or persistent system modification is shown; the monkey patch is runtime-only.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install a-share-real-time-data - 安装完成后,直接呼叫该 Skill 的名称或使用
/a-share-real-time-data触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of mootdx-china-stock-data skill.
- Fetch China A-share stock market data including K-line bars, real-time quotes, and tick-by-tick transactions via mootdx/TDX protocol.
- Provides both single and batch APIs for quotes and candlestick bars.
- Includes trading hour handling, stock code conversion, and trading calendar integration.
- Automatic patch to bypass mootdx/tdxpy trading-hour restrictions on non-Beijing servers.
- Full API guides and code samples included for quick integration.
- Excludes support for Beijing Stock Exchange (.BJ) codes.
元数据
常见问题
A股实时行情数据 是什么?
Fetch China A-share stock market data (bars, realtime quotes, tick-by-tick transactions) via mootdx/TDX protocol. Use when working with Chinese stock data, mootdx library, TDX quotes, intraday minute bars, transaction history, or real-time A-share market data. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 3880 次。
如何安装 A股实时行情数据?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install a-share-real-time-data」即可一键安装,无需额外配置。
A股实时行情数据 是免费的吗?
是的,A股实时行情数据 完全免费(开源免费),可自由下载、安装和使用。
A股实时行情数据 支持哪些平台?
A股实时行情数据 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 A股实时行情数据?
由 taktiko(@wangdinglu)开发并维护,当前版本 v1.0.0。
推荐 Skills