awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectAboutHow we rankPressMCP server
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
QuantConnect avatar

QuantConnect/Lean

0
View on GitHub↗
16,537 stars·4,347 forks·C#·apache-2.0·9 viewslean.io↗

Lean

Lean is an algorithmic trading engine and quantitative finance platform designed for the development, backtesting, and live execution of automated trading strategies. It provides a comprehensive framework for processing time-series market data, managing multi-asset portfolios, and conducting quantitative research across diverse financial markets.

The platform distinguishes itself through a modular, event-driven architecture that decouples strategy logic from data ingestion and brokerage connectivity. By utilizing standardized interfaces for data providers and brokerage abstractions, it enables users to normalize heterogeneous market feeds and execute trades across multiple asset classes within a unified environment. This design ensures that trading logic remains consistent whether operating in a historical simulation or a live market setting.

Beyond core execution, the framework includes integrated tools for technical indicator calculation, portfolio risk management, and performance analytics. It supports the entire research lifecycle, from hypothesis testing and parameter optimization to the management of asset universes and automated order execution. The system also provides mechanisms for persistent state management and project synchronization to maintain continuity across development and deployment environments.

Features

  • Algorithmic Trading Frameworks - Provides a framework for backtesting and executing automated trading strategies across multiple asset classes using historical and real-time market data.
  • Automated Trading Engines - Connects algorithmic models to brokerage accounts to automate order submission and manage market exposure with precision and efficiency.
  • Trading Execution Engines - Connects algorithmic strategies to brokerage accounts to automate order submission and portfolio management in real-time.
  • Trading Strategy Backtesters - Provides tools for building and testing automated financial trading strategies using historical market data to validate performance.
  • Backtesting Engines - Simulates algorithm performance against historical market data to evaluate strategy effectiveness and risk metrics.
  • Research Platforms - Offers a development environment for researching investment hypotheses, optimizing strategy parameters, and managing complex portfolio risk through mathematical modeling.
  • Trading Simulation Engines - Simulates historical market conditions to evaluate the effectiveness and risk metrics of trading algorithms within a controlled environment.
  • Financial Data Processing - Provides a toolkit for importing, generating, and analyzing time-series market data to drive decision-making in automated trading workflows.
  • Order Execution Engines - Implements pluggable algorithms to manage the efficient entry and exit of trades while accounting for market impact and slippage.
  • Portfolio Rebalancing - Constructs and rebalances diversified investment portfolios across equities, forex, and crypto to optimize risk and returns in real-time.
  • Automated Risk Management - Monitors market conditions and applies hedging and position sizing rules to mitigate financial exposure.
  • Asset Filtering - Provides utilities for defining and curating subsets of financial assets for analysis and automated scanning.
  • Simulation Engines - Processes discrete time-series events through a synchronized clock to ensure deterministic execution of trading logic across historical and live environments.
  • Trading Strategy Optimizers - Runs multiple strategy iterations in parallel to identify optimal parameters while managing resource consumption.
  • Technical Indicators - Applies mathematical functions to market data to identify trends and generate signals for automated trading logic.
  • Algorithmic Trading - Open-source algorithmic trading engine.
  • Trading & Backtesting Systems - Comprehensive engine for backtesting and live trading across multiple languages.
  • Algorithmic Trading Engines - Algorithmic trading engine for research and live trading.
  • Backtesting Engines - Multi-language algorithmic trading engine for backtesting and live trading.
  • Trading and Backtesting - Algorithmic trading engine for cloud and desktop.
  • Trading Frameworks - Algorithmic trading engine supporting Python and C#.
  • Trading Platforms - C# based engine for algorithmic trading and backtesting.
  • Exchange Abstraction Layers - Standardizes order execution and portfolio management by mapping generic trading commands to specific API implementations for various financial exchanges.
  • Portfolio Rebalancing - Provides automated logic for adjusting asset holdings to meet target portfolio allocations based on mathematical models.
  • Financial Analysis Tools - Analyzes large datasets and tests investment hypotheses through mathematical modeling to identify profitable trading signals and market trends.
  • Research and Data Analysis Tools - Facilitates interactive data analysis and strategy prototyping using historical market data to validate trading ideas.
  • Trading Frameworks - Executes strategies across diverse asset classes including equities, forex, and crypto within a single unified portfolio.
  • Strategy Performance Analyzers - Compiles detailed analytical summaries and visualizations of algorithm performance to provide professional insights into trading results and risk metrics.
  • Market Data Normalizers - Transforms heterogeneous market data from multiple sources into a consistent structure to facilitate accurate cross-asset analysis and backtesting.
  • Data Provider Plugins - Decouples raw data ingestion from strategy logic by using standardized interfaces to normalize diverse market feeds into a unified internal format.
  • Custom Data Ingestion - Imports proprietary time-series signals from external databases, files, or streaming sockets to augment backtesting models and live trading strategies.
  • Trading Strategy Lifecycles - Manages the execution of trading algorithms through modular stages including initialization, data processing, order management, and final performance reporting.
  • Cloud Synchronization Tools - Synchronizes local project files with remote cloud environments to ensure consistent development and execution across machines.
  • Project Lifecycle Management - Organizes algorithm files and deployment configurations into structured projects to streamline the development and execution lifecycle.

Star history

Star history chart for quantconnect/leanStar history chart for quantconnect/lean

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Lean

Similar open-source projects, ranked by how many features they share with Lean.
  • mementum/backtradermementum avatar

    mementum/backtrader

    20,462View on GitHub↗

    Backtrader is a Python framework designed for the development, backtesting, and live execution of algorithmic trading strategies. It provides a comprehensive environment for quantitative finance, allowing users to simulate trading logic against historical market data or connect directly to brokerage platforms for automated real-time trading. The project distinguishes itself through a unified event-driven architecture that treats backtesting and live trading with the same API. This consistency is supported by a flexible data-feed abstraction layer that normalizes diverse financial sources, ena

    Pythonbacktestingmetaclasspython
    View on GitHub↗20,462
  • vnpy/vnpyvnpy avatar

    vnpy/vnpy

    41,676View on GitHub↗

    VeighNa is an event-driven, modular platform designed for the development, backtesting, and execution of automated financial trading strategies. It provides a comprehensive suite of tools that includes a centralized trading terminal for monitoring portfolios and market conditions, alongside a robust algorithmic trading engine that manages real-time data processing and order execution. The platform distinguishes itself through a highly decoupled architecture that isolates algorithmic logic from market connectivity, allowing for independent strategy development and testing. It utilizes a dynami

    Pythonalgotradingfinancefintech
    View on GitHub↗41,676
  • quantopian/ziplinequantopian avatar

    quantopian/zipline

    19,432View on GitHub↗

    Zipline is a Python-based algorithmic trading library designed for the development and backtesting of investment strategies. It functions as a quantitative finance engine that processes historical market data to simulate trading interactions and evaluate strategy performance through custom metrics. The platform provides a modular, event-driven framework that manages portfolio state transitions based on time-series data streams. Beyond its core trading capabilities, the system includes a comprehensive financial data analysis toolkit for manipulating large-scale market datasets to support syste

    Pythonalgorithmic-tradingpythonquant
    View on GitHub↗19,432
  • ricequant/rqalpharicequant avatar

    ricequant/rqalpha

    6,166View on GitHub↗

    RQAlpha is a Python-native quantitative trading backtesting framework and live trading execution system. It provides an event-driven engine for simulating trading strategies against historical market data, with realistic transaction costs, slippage models, and corporate action handling. The platform supports multi-asset class trading including stocks, futures, options, and REITs, with separate sub-accounts for different asset types and configurable margin requirements. The framework distinguishes itself through a plugin-based extensible architecture that allows users to swap out core componen

    Pythonbacktestfinancefutures
    View on GitHub↗6,166
See all 30 alternatives to Lean→

Frequently asked questions

What does quantconnect/lean do?

Lean is an algorithmic trading engine and quantitative finance platform designed for the development, backtesting, and live execution of automated trading strategies. It provides a comprehensive framework for processing time-series market data, managing multi-asset portfolios, and conducting quantitative research across diverse financial markets.

What are the main features of quantconnect/lean?

The main features of quantconnect/lean are: Algorithmic Trading Frameworks, Automated Trading Engines, Trading Execution Engines, Trading Strategy Backtesters, Backtesting Engines, Research Platforms, Trading Simulation Engines, Financial Data Processing.

What are some open-source alternatives to quantconnect/lean?

Open-source alternatives to quantconnect/lean include: mementum/backtrader — Backtrader is a Python framework designed for the development, backtesting, and live execution of algorithmic trading… vnpy/vnpy — VeighNa is an event-driven, modular platform designed for the development, backtesting, and execution of automated… quantopian/zipline — Zipline is a Python-based algorithmic trading library designed for the development and backtesting of investment… ricequant/rqalpha — RQAlpha is a Python-native quantitative trading backtesting framework and live trading execution system. It provides… nautechsystems/nautilus_trader — Nautilus Trader is a high-performance algorithmic trading framework built in Rust, designed for the development,… ai4finance-foundation/finrl — FinRL is a reinforcement learning framework designed for the development, training, and backtesting of automated…