Skip to content

Version 0.1.1-alpha

Choose a tag to compare

@huangbogeng huangbogeng released this 10 Mar 05:27
· 94 commits to main since this release

📦 quant-lab v0.1.0

High-Performance Alpha Factor Mining System


✨ 核心特性

  • 🚀 极致性能: 基于 Rust 编写的 Polars 引擎,支持多线程并行计算、SIMD 优化及外存处理
  • 💾 混合存储架构: BlazeStore (本地 Parquet) + ClickHouse 无缝集成
  • 🛠 工程化工具箱:
    • xcals: 高精度中国金融市场交易日历
    • ygo: 并发调度器 (IO密集型/CPU密集型任务)
    • clickhouse_df: ClickHouse DataFrame 封装
  • 🔄 数据复用设计: 统一视图连接行情数据与基础信息

🐍 Python 版本

  • Python 3.11+
  • Python 3.12 (已通过 CI 测试)

📥 安装方式

# PyPI 安装 (推荐)
pip install quant-lab

# 从源码安装
pip install git+https://github.com/huangbogeng/quant-lab.git

# 开发模式
cd quant-lab
uv sync --all-extras

⚙️ 依赖

  • polars >= 1.38.1
  • pandas >= 3.0.0
  • clickhouse-driver >= 0.2.6
  • numpy >= 2.4.2
  • tqdm >= 4.66.0
  • 更多详见 pyproject.toml

🧪 CI 测试

  • ✅ Ubuntu (Python 3.11, 3.12)
  • ✅ Windows (Python 3.11, 3.12)
  • ✅ macOS (Python 3.11, 3.12)

📋 后续计划

  • 支持更多数据源
  • 完善文档与示例
  • 欢迎 Issue 与 PR!

📄 License

MIT License


Full Changelog: https://github.com/huangbogeng/quant-lab/commits/v0.1.0