---
title: "LEAN Engine"
canonical: https://www.quantconnect.com/docs/v2/lean-engine
markdown: https://www.quantconnect.com/docs/v2/lean-engine.md
language: python
source: https://github.com/QuantConnect/Documentation/tree/master/06%20LEAN%20Engine
modified: 2026-11-01
index: https://www.quantconnect.com/llms.txt
---

# LEAN Engine

[Documentation](https://www.quantconnect.com/docs/v2.md) > LEAN Engine

> Code examples are shown in Python. Append `?lang=csharp` to this URL for the C# version of this page.

![](https://cdn.quantconnect.com/i/tu/docs-engine-icon.svg)

### LEAN Engine

### Radically open-source algorithmic trading engine

### An Open, Institutional Calibre Engine

Multi-asset with full portfolio modeling, LEAN is data agnostic, empowering you to explore faster than ever before.

[Get Started](https://www.quantconnect.com/docs/v2/lean-engine/getting-started.md) [Download PDF](https://cdn.quantconnect.com/docs/i/Quantconnect-Lean-Engine-Python.pdf)

![LEAN Engine](https://cdn.quantconnect.com/i/tu/header-img-lean.webp)

#### IN THIS SECTION

[Getting Started](https://www.quantconnect.com/docs/v2/lean-engine/getting-started.md) [Contributing Datasets](https://www.quantconnect.com/docs/v2/lean-engine/contributions/datasets/key-concepts.md) [Contributing Brokerages](https://www.quantconnect.com/docs/v2/lean-engine/contributions/brokerages.md) [Data Format](https://www.quantconnect.com/docs/v2/lean-engine/data-format/key-concepts.md) [Class Reference](https://www.lean.io/docs/v2/lean-engine/class-reference/index.html)

---

- [Contributing Datasets](https://www.quantconnect.com/docs/v2/lean-engine/contributions/datasets/key-concepts.md): Add new datasets to the Dataset Market
- [Contributing Brokerages](https://www.quantconnect.com/docs/v2/lean-engine/contributions/brokerages.md): Connect new brokerages to LEAN
- [Data Format](https://www.quantconnect.com/docs/v2/lean-engine/data-format/key-concepts.md): Read and write LEAN data files
- [Class Reference](https://www.lean.io/docs/v2/lean-engine/class-reference/index.html): Checkout the LEAN Reference

## Pages in This Section

- [Getting Started](https://www.quantconnect.com/docs/v2/lean-engine/getting-started.md): The Lean Engine is an open-source algorithmic trading engine built for easy strategy research, backtesting, and live trading.
- [Contributions](https://www.quantconnect.com/docs/v2/lean-engine/contributions/datasets/key-concepts.md)
- [Data Format](https://www.quantconnect.com/docs/v2/lean-engine/data-format/key-concepts.md)
- [Statistics](https://www.quantconnect.com/docs/v2/lean-engine/statistics/capacity.md)
- [Class Reference](https://www.quantconnect.com/docs/v2/lean-engine/class-reference.md): The QuantConnect API Reference is a comprehensive technical document that details the LEAN algorithmic trading framework.
