Skip to content

QuantDB Changelog

[2.3.0-dev] - In Development

Added

  • Hong Kong Index Support: Complete support for Hong Kong stock indexes
  • HSI (Hang Seng Index), HSCEI (Hang Seng China Enterprises Index), HSTECH (Hang Seng TECH Index)
  • International symbol conventions with alias support (^HSI, HK.HSI, HANG SENG, etc.)
  • Historical data via AKShare stock_hk_index_daily_sina
  • Realtime data via AKShare stock_hk_index_spot_sina
  • New "Hong Kong Indexes" category in API endpoints
  • Full backward compatibility with existing A-share indexes
  • Real-time Data API: Complete real-time stock data support
  • Financial Data API: Financial summary and metrics data support
  • Index Data API: Complete index historical/real-time data support
  • Stock List API: Complete stock listing functionality
  • Smart Caching: High-performance multi-functional data access strategy

Improved

  • Test coverage increased from 39% to 50% (+11 percentage points)
  • Added 37 core tests, 100% passing
  • Complete internationalization: Version display and UI messages 100% in English
  • 100% English codebase: Fully adapted for international developer community

Added Test Modules

  • test_core_models.py - 13 core model tests
  • test_validators.py - 15 validator tests
  • test_realtime_data_service.py - 9 real-time data service tests
  • test_realtime_api.py - 24 real-time API tests
  • test_package_quality.py - Quality assurance test suite

Added Quality Assurance Tools

  • test_runner_v2.py - Next-generation test runner
  • package_quality_gate.py - Package quality gate script

Test Quality Metrics Improvements

Metric Before After Improvement
Total Coverage 39% 50% +11%
Core Model Coverage Low 100% Complete Coverage
Validator Coverage 14% 94% +80%
Real-time Service Coverage Low 84% Significant Improvement

[2.2.8] - UX Improvements + API Compatibility (2025-08-07)

๐Ÿ”ง User Experience

  • API enhancement: get_stock_data() now supports positional arguments
  • New support: qdb.get_stock_data('000001', '20240101', '20240131')
  • Backward compatible: qdb.get_stock_data('000001', start_date='20240101', end_date='20240131')
  • Mixed call: qdb.get_stock_data('000001', '20240101', end_date='20240131')
  • UX testing: complete acceptance test framework
  • Docs update: README_PYPI.md and examples updated; added "Feature details" and index examples
  • API exports: top-level export get_index_data/get_index_realtime/get_index_list in qdb.__init__

๐Ÿงช Quality

  • 100% tests pass: 149 tests passed
  • User journey tests: beginner to pro scenarios
  • API compatibility: multiple calling signatures validated

๐Ÿ“ฆ Release

  • Repository updated to v2.2.8 (source code)
  • PyPI: ready for v2.2.8 publication
  • All version numbers unified to v2.2.8

[2.2.7] - PyPI Release + Version Sync (2025-08-07)

๐Ÿš€ PyPI

  • Published: https://pypi.org/project/quantdb/2.2.7/
  • Version sync across docs to v2.2.7
  • Users can pip install quantdb
  • Full feature set included

๐Ÿ“š Docs

  • Main READMEs: README.md, README.zh-CN.md, README_PYPI.md
  • Docs dir updated accordingly
  • Release checklist updated as done

[2.2.6] - Feature Completion + Docs Update (2025-08-07)

๐Ÿ“š Docs readiness for Python package release

  • Unified versions to v2.2.6
  • Full API docs and examples added
  • Feature highlights updated (no more "Coming soon")

๐ŸŽฏ Feature set summary (v2.2.6)

  • โœ… Realtime: get_realtime_data(), get_realtime_data_batch()
  • โœ… Stock list: get_stock_list()
  • โœ… Financials: get_financial_summary(), get_financial_indicators()
  • โœ… Index data: history + realtime
  • โœ… Unified caching
  • โœ… 259 tests, production-ready

[2.2.6] - i18n Finish + Realtime API (2025-08-06)

๐ŸŒ 100% English user-facing messages

  • Version string fixes: qdb.version 2.2.4 โ†’ 2.2.6
  • All user-visible messages translated to English
  • Quality assurance: no functional regressions
  • PyPI ready: v2.2.6

๐Ÿš€ Realtime quotes

  • AKShare integration for spot data with graceful fallback
  • Smart TTL (5min during market hours, 60min off-hours)
  • API endpoints for single and batch realtime quotes
  • Python functions: qdb.get_realtime_data(), qdb.get_realtime_data_batch()
  • Robust error handling and tests
  • Performance: avg 82.6% speedup, up to 30.7x

๐Ÿ“ฆ Files changed

  • qdb/__init__.py: version
  • qdb/client.py: English messages
  • qdb/simple_client.py: English messages
  • cloud/streamlit_cloud/utils/session_manager.py: English messages
  • core/models/realtime_data.py: new
  • core/services/realtime_data_service.py: new
  • api/routers/realtime.py: new
  • tests/unit/test_realtime_api.py: new
  • core/cache/akshare_adapter.py: extended
  • qdb/client.py, qdb/simple_client.py: realtime functions
  • core/models/__init__.py, core/models/asset.py: relations updated
  • api/main.py: routing integration

[2.2.4] - Core i18n (2025-08-05)

  • All comments translated to English (95%)
  • Core services fully updated (models/services/cache)
  • Config files updated
  • 87 tests passed

โœ… Fixed in v2.2.6

  • Version display mismatch โ€” fixed
  • Chinese user messages โ€” translated

[2.2.3] - Naming & Import (2025-08-05)

  • Added note "(import as 'qdb')"
  • Expanded keywords for discoverability
  • README sections clarified naming vs import
  • Unified cloud URL: https://quantdb-cloud.streamlit.app

[2.2.2] - Docs & URLs (2025-08-05)

  • Unified cloud URL
  • Chinese & English READMEs updated
  • Version info synchronized

[2.2.1] - PyPI Metadata & README (2025-08-05)

  • English description improved
  • Install command fixed: pip install qdb โ†’ pip install quantdb
  • Naming unified
  • Badges added

[2.2.0] - PyPI Release (2025-08-05)

  • PyPI: https://pypi.org/project/quantdb/
  • Package name: quantdb
  • Versions unified to v2.2.0
  • Accurate author info
  • CLI cleanup
  • Build verified

[2.1.1] - Multi-product Architecture (2025-08-04)

  • Python package, API, Cloud app
  • High code reuse (>90%)
  • AKShare-compatible
  • Standardized packaging

[2.1.0] - Tech Debt Cleanup (2025-08-04)

  • Unified versions
  • Updated configs
  • Branches synced
  • Sprint planning established

[2.0.1] - HK Market Support (2025-06-23)

  • Auto-detect 5-digit HK symbols
  • Full history support for HK market
  • Mixed market support

[2.0.0] - Internationalization (2025-06-24)

  • 100% English UI
  • Bilingual READMEs
  • Standardized terminology
  • Zero functional loss

More history: see Git history.