Discover and explore top open-source AI tools and projects—updated daily.
handsomejustinPython SDK for millisecond-level financial market data and quantitative analysis
Top 65.6% on SourcePulse
This project provides a free, open-source Python SDK designed to democratize access to high-frequency financial market data and advanced analytical tools, previously exclusive to institutional investors. It targets retail traders, quantitative researchers, and AI developers, offering millisecond-level data for A-shares, Hong Kong, US stocks, and futures, along with integrated technical analysis and backtesting capabilities. The primary benefit is leveling the playing field by providing ordinary users with powerful data access and analytical tools at no cost.
How It Works
The SDK connects directly to TDX servers for real-time and historical data, achieving millisecond-level latency. It offers data access via a Python API, a command-line interface (CLI), and a RESTful Web API. Key features include over 34 built-in technical indicators, automated Chanlun analysis (identifying patterns like segments, centers, and divergence), and a comprehensive backtesting engine. It also supports reading data directly from local TDX .day files for offline analysis.
Quick Start & Requirements
pip install easy-tdxpip install -e ".[dev]" or pip install -e ".[web]" for web API support.Highlighted Details
.day files.Maintenance & Community
Information regarding specific maintainers, community channels (like Discord or Slack), or active development beyond the README content is not detailed.
Licensing & Compatibility
The project is released under the MIT License, permitting free use, modification, and distribution, making it suitable for both academic research and commercial applications without significant restrictions.
Limitations & Caveats
The project explicitly warns that backtesting results are historical and do not guarantee future performance, being subject to survivor bias and overfitting. Actual trading requires consideration of factors like slippage, liquidity, and exchange-imposed trading halts. The tool is designed for data access and analysis, not as a guaranteed profit-making mechanism. Offline data access requires a local TDX installation.
1 day ago
Inactive