mootdx

Fetch A-share OHLCV and intraday data via the Mootdx TCP protocol.

Updated Jun 12, 2026
One-click install
npx skills add https://github.com/GGwujun/SigmX --skill mootdx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mootdx
Source: https://github.com/GGwujun/SigmX/tree/main/agent/src/skills/mootdx
Command: npx skills add https://github.com/GGwujun/SigmX --skill mootdx

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Mootdx provides reliable A-share market data via the native TDX (TCP) protocol, serving as a deterministic fallback when HTTP scrapers (e.g., East Money via akshare) fail under load.

Core Features & Use Cases

  • No API key or IP rate limits: Public market data retrieval via Mootdx TCP protocol.
  • Daily OHLCV and intraday bars: Access daily OHLCV via get_k_data and intraday data via bars with frequency codes.
  • Loader integration and fallbacks: Acts as the a-share data source with a loader, and can be combined in a fallback chain (tushare, mootdx, akshare) for resilience.
  • Real-time quotes and fundamentals: Supports quotes(symbol) and F10/finance data for quick snapshots and fundamentals.

Quick Start

Install mootdx and fetch daily OHLCV data for a symbol.

Frequently Asked Questions about mootdx

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get A-share stock data without an API key or rate limits?

You can retrieve A-share stock data without an API key by using the Mootdx TCP protocol to fetch daily OHLCV, intraday bars, and real-time quotes directly from public market servers, bypassing HTTP rate limits entirely.

Why does my A-share HTTP scraper fail under load and how to fix it?

HTTP scrapers like akshare often fail under heavy load. You can fix this by using Mootdx as a deterministic fallback, retrieving market data via the native TDX TCP protocol instead of relying on HTTP endpoints.

What is the best way to build a fallback chain for A-share market data?

The best way to build a resilient fallback chain for A-share market data is to combine tushare, mootdx, and akshare. Mootdx serves as the middle deterministic fallback via TCP when tushare or HTTP scrapers fail.

Can I fetch intraday bars and real-time quotes for SH and SZ markets via TCP?

Yes, you can fetch intraday bars and real-time quotes for SH and SZ markets via TCP. The protocol supports frequency codes for bars and quote functions to provide quick market snapshots without requiring API keys.

Does mootdx support backtesting workflows requiring daily OHLCV data?

Yes, mootdx supports backtesting and research workflows requiring daily OHLCV data. You can use the get_k_data function to retrieve historical daily open, high, low, close, and volume data for A-shares.

What are the limitations of using TCP protocol for A-share data retrieval?

The TCP protocol for A-share data retrieval is limited to public market data like OHLCV, bars, quotes, and F10 fundamentals. It does not require API keys but may lack the structured historical depth or advanced filtering of paid HTTP APIs.