---
title: "Execution"
canonical: https://www.quantconnect.com/docs/v2/writing-algorithms/algorithm-framework/execution
markdown: https://www.quantconnect.com/docs/v2/writing-algorithms/algorithm-framework/execution.md
language: python
source: https://github.com/QuantConnect/Documentation/tree/master/03%20Writing%20Algorithms/34%20Algorithm%20Framework/06%20Execution
modified: 2026-11-23
index: https://www.quantconnect.com/llms.txt
---

# Execution

[Documentation](https://www.quantconnect.com/docs/v2.md) > [Writing Algorithms](https://www.quantconnect.com/docs/v2/writing-algorithms.md) > Algorithm Framework > Execution

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

## Pages in This Section

- [Key Concepts](https://www.quantconnect.com/docs/v2/writing-algorithms/algorithm-framework/execution/key-concepts.md): The Execution model receives an array of risk-adjusted targets from the risk model and places trades in the market to satisfy the targets.
- [Supported Models](https://www.quantconnect.com/docs/v2/writing-algorithms/algorithm-framework/execution/supported-models.md): This page describes the pre-built Execution models in LEAN. If none of these models perform exactly how you want, create a custom Execution model.
