QuantConnect

    QuantConnect/Lean

    Lean Algorithmic Trading Engine by QuantConnect (Python, C#)

    22.4K stars
    5.4K forks
    22.4K GitHub watchers
    Updated Nov 4, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    The project lists 221 contributors on GitHub.

    Peaked at #2 in the weekly ranking the week of Dec 28, its best in the past year.

    Use Cases & Benefits

    • Provides an open-source, event-driven algorithmic trading engine supporting backtesting and live trading in multiple financial markets using C# and Python.
    • Offers a modular, pluggable architecture with extensive data and model support, enabling flexible customization and integration with cloud and local environments.
    • Use for developing and backtesting quantitative trading strategies with historical and live market data in a professional-grade environment.
    • Use for integrating algorithmic trading workflows into local IDEs and cloud platforms with seamless debugging, autocomplete, and hybrid development support.
    • Use for deploying and managing live trading bots across stocks, forex, and options markets with real-time data streaming and execution capabilities.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    Apache 2.0

    Permissive: commercial use, modification and redistribution are allowed with attribution; includes an explicit patent grant from contributors.

    Community files

    • README: present
    • Contributing guide: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    LEAN is an event-driven, professional-caliber algorithmic trading platform built with a passion for elegant engineering and deep quant concept modeling. Out-of-the-box alternative data and live-trading support.

    LEAN is modular in design, with each component pluggable and customizable. It ships with models for all major plug-in points.

    QuantConnect Lean CLI is a command-line interface tool for interacting with the Lean algorithmic trading engine, which is an open-source platform for backtesting and live trading algorithms in multiple financial markets. It allows developers to manage projects, run backtests, deploy live algorithms, and perform various other tasks related to algorithmic trading directly from the terminal. The CLI simplifies the workflow by automating tasks, enabling seamless integration with cloud services, and facilitating collaboration with the QuantConnect community. It's designed for quant developers who need a powerful and flexible tool to streamline their trading strategies. Please watch the instructions videos to learn more.

    Excerpt from the QuantConnect/Lean README on GitHub (Apache-2.0 license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    5.4K+234

    Open issues

    289+40

    Compared with peers in Backend

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 8, by 7-day star growth

    QuantConnect/Lean compared with Backend repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    anthropics/skills192.3K+5.2K75—
    zed-industries/zed94.7K+2.3K756 days ago
    google/skills23.8K+2.0K75—
    NationalSecurityAgency/ghidra99.4K+1.8K7519 days ago
    DuarteSantos8/openGym20.8K+1.7K757 days ago
    QuantConnect/Lean22.4K—40—
    Category median94.7K+2.0K75—

    Discover Repositories

    Search across tracked repositories by name or description