--- id: mootdx version: "0.11.7" license: MIT license_treatment: permissive maintenance: dormant --- # mootdx — 通达信数据读取接口. License: permissive · Maintenance: dormant · Downloads: 122.8K/mo ## What it is and what it does Mootdx is a Python interface to Tongdaxin, a Chinese trading platform, for reading historical and real-time market data. It supports three main workflows: reading offline data from a local Tongdaxin installation (daily, minute, and timeline data), fetching live quotes and K-line data via network, and downloading financial datasets. The package wraps Tongdaxin's proprietary data formats and APIs, exposing them through a simple Python interface. The library depends on httpx, tenacity, tdxpy, py-mini-racer, and several utility libraries (tqdm, prettytable, click, typing-extensions). It targets Python 3.8 and above and is classified as pre-alpha. Maintenance is dormant—the last release was 2024-05-04—but the repository remains publicly available with recent commits. Use it for: - Backtest trading strategies using historical daily or minute-level data from Tongdaxin. - Fetch live market quotes and K-line data for real-time trading or monitoring applications. - Download and parse financial datasets for quantitative analysis. - Build data pipelines that ingest Tongdaxin market data into analytical or reporting systems. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Reads market data from Tongdaxin (a Chinese trading platform) via offline files or live quotes, and fetches financial data. Yes, if you actively use Tongdaxin and need programmatic data access—the library is permissively licensed and has low install friction. However, dormant maintenance and reliance on Tongdaxin's continued server availability create risk. Verify that the live quote endpoints still work and that your Tongdaxin version is compatible before committing to production use. Not suitable if you need active upstream support. ## Install pip install mootdx uv add mootdx poetry add mootdx ## Installing mootdx Before you install: Low install friction with a pure-Python wheel. Maintenance is dormant—last release was May 2024, though the repository remains active with recent commits and 2197 stars. Eight runtime dependencies add moderate weight. License in practice: MIT license permits commercial and private use with attribution. No licensing restrictions on adoption. Quickstart: pip install mootdx from mootdx.reader import Reader reader = Reader.factory(market='std', tdxdir='C:/new_tdx') reader.daily(symbol='600036') Requires a local Tongdaxin installation directory to read offline data; py-mini-racer may not work on M1 macOS systems. Verify before relying: - Whether live quote functionality requires active network access to Tongdaxin servers and whether those servers remain operational. - Current compatibility with recent Tongdaxin platform versions and data format changes since last release. - Stability and performance characteristics under production load with large datasets or frequent polling. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: dormant - Downloads: 122.8K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags tongdaxin data reader, chinese stock market data, tdx offline quotes, trading platform data api, financial data downloader, market-data, chinese-finance, trading-platform [View on SkillFed](https://skillfed.io/packages/mootdx) · [View on PyPI](https://pypi.org/project/mootdx/)