---
title: "Index"
description: "The folder structure, file names, and columns of Index data files in the LEAN data format."
canonical: https://www.quantconnect.com/docs/v2/lean-engine/data-format/index
markdown: https://www.quantconnect.com/docs/v2/lean-engine/data-format/index.md
language: python
source: https://github.com/QuantConnect/Documentation/tree/master/06%20LEAN%20Engine/03%20Data%20Format/05%20Index
modified: 2026-11-23
index: https://www.quantconnect.com/llms.txt
---

# Index

[Documentation](https://www.quantconnect.com/docs/v2.md) > [LEAN Engine](https://www.quantconnect.com/docs/v2/lean-engine.md) > Data Format > Index

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

## Introduction

Index data has trade data only, and the price columns hold the index value. The files store the actual values. The data time zone depends on the index. For example, the data time zone of SPX is America/Chicago.

## Folder Structure

The following table shows the paths of the Index data files:

| Resolution | Zip File | CSV File |
| --- | --- | --- |
| Second and minute | `index / <market> / <resolution> / <ticker> / <date>_trade.zip` | `<date>_<ticker>_<resolution>_trade.csv` |
| Hour and daily | `index / <market> / <resolution> / <ticker>.zip` | `<ticker>.csv` |

Each zip file contains one CSV file. For example, `index / usa / minute / spx / 20210104_trade.zip` contains `20210104_spx_minute_trade.csv`.

## Bar Data

The following table shows the bar data, with an example row from the SPX minute file of January 4, 2021:

| Data Type | Resolutions | Example |
| --- | --- | --- |
| [Trade bar](https://www.quantconnect.com/docs/v2/lean-engine/data-format/core-data-types.md#02-Trade-Bar) | Second, minute, hour, and daily | `30600000,3764.61,3769.99,3764.61,3766.63,59` |

In this example, the time 30600000 is 8:30 AM in the America/Chicago data time zone, which is the 9:30 AM open in New York.
