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

# Time Modeling

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

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

## Pages in This Section

- [Periods](https://www.quantconnect.com/docs/v2/writing-algorithms/key-concepts/time-modeling/periods.md): Data comes in two different "shapes" according to the time period it covers: point values or period values. These data formats have different properties.
- [Timeslices](https://www.quantconnect.com/docs/v2/writing-algorithms/key-concepts/time-modeling/timeslices.md): LEAN attempts to accurately model the stream of time, presenting data ("events") to your algorithms in the order it arrives, as you would experience in reality.
- [Time Zones](https://www.quantconnect.com/docs/v2/writing-algorithms/key-concepts/time-modeling/time-zones.md): LEAN is an international trading engine, so it can operate across time zones. The exchange, your algorithm, and the data can all have different time zones.
