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

# Securities

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

> 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/securities/key-concepts.md): A security is an individual financial asset that you might trade on an exchange. LEAN models these unique assets with a Security object.
- [Requesting Data](https://www.quantconnect.com/docs/v2/writing-algorithms/securities/requesting-data.md): If you create a data subscription, your algorithm receives data updates for that security or custom data source.
- [Handling Data](https://www.quantconnect.com/docs/v2/writing-algorithms/securities/handling-data.md): Your algorithm uses the data to make trading decisions and LEAN uses the data to update your positions, track your portfolio value, and simulate orders.
- [Market Hours](https://www.quantconnect.com/docs/v2/writing-algorithms/securities/market-hours.md): The Exchange property of a Security object contains information about the exchange that lists the security.
- [Filtering Data](https://www.quantconnect.com/docs/v2/writing-algorithms/securities/filtering-data.md): Unfiltered data may contain errors from faulty entries & deceptive trades. Filter suspicious data to preserve trading logic and model integrity.
- [Asset Classes](https://www.quantconnect.com/docs/v2/writing-algorithms/securities/asset-classes.md): LEAN supports many asset clases, including Equities, Equity Options, Index Option, Future Options, Futures, Forex, Crypto, Crypto Futures, and CFDs.
