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

# Portfolio Construction

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

> 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/portfolio-construction/key-concepts.md): The Portfolio Construction model receives Insight objects from the Alpha model and creates PortfolioTarget objects for the Risk Management model.
- [Supported Models](https://www.quantconnect.com/docs/v2/writing-algorithms/algorithm-framework/portfolio-construction/supported-models.md): This page describes the pre-built Portfolio Construction models in LEAN. If none of these models perform exactly how you want, create a custom PCM.
- [Supported Optimizers](https://www.quantconnect.com/docs/v2/writing-algorithms/algorithm-framework/portfolio-construction/supported-optimizers.md): This page describes the pre-built Portfolio Optimizer models in LEAN. If none of these models perform how you want, create a custom Optimizer model.
