← Back to Skills Marketplace
wangdinglu

A股实时行情数据

by taktiko · GitHub ↗ · v1.0.0
cross-platform ✓ Security Clean
3880
Downloads
2
Stars
34
Active Installs
1
Versions
Install in OpenClaw
/install a-share-real-time-data
Description
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.
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install a-share-real-time-data
  3. After installation, invoke the skill by name or use /a-share-real-time-data
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug a-share-real-time-data
Version 1.0.0
License
All-time Installs 34
Active Installs 34
Total Versions 1
Frequently Asked Questions

What is 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. It is an AI Agent Skill for Claude Code / OpenClaw, with 3880 downloads so far.

How do I install A股实时行情数据?

Run "/install a-share-real-time-data" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is A股实时行情数据 free?

Yes, A股实时行情数据 is completely free (open-source). You can download, install and use it at no cost.

Which platforms does A股实时行情数据 support?

A股实时行情数据 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created A股实时行情数据?

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

💬 Comments