OSkhQuant  by khscience

Local quantitative trading system for strategy research

Created 8 months ago
373 stars

Top 76.0% on SourcePulse

GitHubView on GitHub
Project Summary

Summary

KHQuant is a free, open-source quantitative trading system for A-share investors, addressing the need for greater strategy development flexibility, especially for AI algorithms. It breaks limitations of some commercial tools by offering a user-friendly GUI combined with unrestricted Python library usage. Targeting individual enthusiasts and developers, KHQuant enables local deployment of strategies and data for enhanced security and control, serving as a powerful, adaptable tool for strategy research and backtesting.

How It Works

Built on MiniQMT, KHQuant features a modular, low-coupling design for maintainability and extensibility, prioritizing strategy cohesion. It combines a PyQt5 GUI for ease of use with a flexible Python environment, allowing integration of diverse libraries. Local deployment of data and strategies ensures security. The architecture is designed for future AI/LLM integration and aims for seamless transitions between backtesting, simulation, and live trading.

Quick Start & Requirements

  • Installation: Recommended: Download the pre-packaged .exe installer from the official KHQuant website.
  • Prerequisites:
    • Operating System: Windows 10 (64-bit) or higher.
    • MiniQMT Client: Must be installed and logged in.
    • Microsoft Visual C++ 2015-2022 Redistributable (x64): Download from https://aka.ms/vs/17/release/vc_redist.x64.exe.
  • Links: Official KHQuant Website (URL not provided in README).

Highlighted Details

  • Free & Open-Source: Encourages community contribution.
  • Local Deployment: Guarantees data and strategy security.
  • Hybrid Flexibility: User-friendly GUI with unrestricted Python library support.
  • AI/LLM Ready: Facilitates AI model integration.
  • MiniQMT Integration: Leverages a stable trading backend.
  • A-Share Optimized: Tailored for the A-share market.

Maintenance & Community

Maintained by a single developer ("看海"). Community engagement occurs via WeChat, Zhihu, Bilibili, etc. An internal group offers early access and priority support for qualified users.

Licensing & Compatibility

  • License: CC BY-NC 4.0 (Attribution-NonCommercial).
  • Restrictions: Strictly prohibits commercial use. Derived commercial applications are forbidden and legally actionable.

Limitations & Caveats

  • Not for HFT: Lacks sub-millisecond latency and tick-level data.
  • Limited Historical Data: MiniQMT data download restrictions may limit backtesting depth.
  • Windows-Centric: Primarily supported on Windows; non-Windows OS compatibility is not guaranteed.
  • MiniQMT Dependency: Requires a functional MiniQMT client.
  • Backtesting Focus: Current version is for backtesting, not live trading.
Health Check
Last Commit

2 days ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
3
Star History
242 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.