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.