---
title: "Key Concepts"
canonical: https://www.quantconnect.com/docs/v2/writing-algorithms/key-concepts
markdown: https://www.quantconnect.com/docs/v2/writing-algorithms/key-concepts.md
language: python
source: https://github.com/QuantConnect/Documentation/tree/master/03%20Writing%20Algorithms/01%20Key%20Concepts
modified: 2026-11-23
index: https://www.quantconnect.com/llms.txt
---

# Key Concepts

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

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

## Pages in This Section

- [Getting Started](https://www.quantconnect.com/docs/v2/writing-algorithms/key-concepts/getting-started.md): Quants take a scientific approach to trading, applying concepts from mathematics, time series analysis, statistics, computer science, and machine learning.
- [Algorithm Engine](https://www.quantconnect.com/docs/v2/writing-algorithms/key-concepts/algorithm-engine.md): LEAN Engine is an open-source algorithmic trading engine built for easy strategy research, backtesting, and live trading with Python or C#.
- [Multi-Asset Modeling](https://www.quantconnect.com/docs/v2/writing-algorithms/key-concepts/multi-asset-modeling.md): We designed LEAN as a multi-asset platform with out-of-the-box support from multiple securities, so you can model complex portfolios like hedge funds.
- [Time Modeling](https://www.quantconnect.com/docs/v2/writing-algorithms/key-concepts/time-modeling/periods.md)
- [Security Identifiers](https://www.quantconnect.com/docs/v2/writing-algorithms/key-concepts/security-identifiers.md): We implemented Symbol objects in the LEAN open-source project as a way to identify or "finger-print" tradable assets so that no further database look-up is required.
- [Event Handlers](https://www.quantconnect.com/docs/v2/writing-algorithms/key-concepts/event-handlers.md): Event handlers pass information to your strategy during algorithm execution, aiding in debugging complex algorithms.
- [Python and LEAN](https://www.quantconnect.com/docs/v2/writing-algorithms/key-concepts/python-and-lean.md): LEAN powers QuantConnect, enabling strategies to request data and execute trades. It's supports both C# and Python trading algorithms.
- [Duck Typing](https://www.quantconnect.com/docs/v2/writing-algorithms/key-concepts/duck-typing.md)
- [Research Guide](https://www.quantconnect.com/docs/v2/writing-algorithms/key-concepts/research-guide.md): We aim to teach the community to create high-performing algorithmic trading strategies. We measure our success by the live trading profits of the community.
- [Behavioral Finance](https://www.quantconnect.com/docs/v2/writing-algorithms/key-concepts/behavioral-finance.md): Behavioral finance explains how cognitive biases create persistent market inefficiencies that algorithmic trading strategies can exploit.
- [Globals and Statics](https://www.quantconnect.com/docs/v2/writing-algorithms/key-concepts/globals-and-statics.md): It is often convenient to access the QCAlgorithm API in classes outside of the QCAlgorithm class.
- [Libraries](https://www.quantconnect.com/docs/v2/writing-algorithms/key-concepts/libraries.md): We support various libraries for machine learning, plotting, and data processing. We've bundled together sets of libraries into distinct cloud environments.
- [Debugging Tools](https://www.quantconnect.com/docs/v2/writing-algorithms/key-concepts/debugging-tools.md)
- [Algorithm Performance](https://www.quantconnect.com/docs/v2/writing-algorithms/key-concepts/algorithm-performance.md): Speed up a slow backtest by measuring the algorithm with the Performance chart, reducing the data it consumes, removing history requests, and keeping the event handlers thin before changing the node.
- [Glossary](https://www.quantconnect.com/docs/v2/writing-algorithms/key-concepts/glossary.md): This page defines terms in QuantConnect products and documentation.
