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

# Crypto Futures

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

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

## Introduction

Crypto Futures data has trade and quote data. The files store the actual prices. The data time zone is UTC.

## Folder Structure

The following table shows the paths of the Crypto Futures data files:

| Resolution | Zip File | CSV File |
| --- | --- | --- |
| Tick, second, and minute | `cryptofuture / <market> / <resolution> / <ticker> / <date>_<tickType>.zip` | `<date>_<ticker>_<resolution>_<tickType>_perp.csv` |
| Hour and daily | `cryptofuture / <market> / <resolution> / <ticker>_<tickType>.zip` | `<ticker>_<tickType>_perp.csv` |

The `perp` suffix marks a perpetual contract. For a contract with an expiry date, LEAN uses `<contractMonth>` as the suffix. For example, `cryptofuture / binance / minute / adausdt / 20221213_trade.zip` contains `20221213_adausdt_minute_trade_perp.csv`.

## Bar Data

The following table shows the bar data, with example rows from the ADAUSDT minute files of the binance market on December 13, 2022:

| 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 | `0,0.3067,0.3068,0.3066,0.3068,274004` |
| [Quote bar](https://www.quantconnect.com/docs/v2/lean-engine/data-format/core-data-types.md#03-Quote-Bar) | Second, minute, hour, and daily | `0,0.3066,0.3067,0.3066,0.3067,88126,0.3067,0.3068,0.3067,0.3068,236586` |

## Tick Data

Tick files have trade ticks and quote ticks. The following table describes the columns of trade ticks:

| Column | Description |
| --- | --- |
| Time | Milliseconds since midnight |
| Price | Trade price |
| Quantity | Quantity traded |
| Suspicious | 1 if the tick is suspicious and 0 otherwise |

The following table describes the columns of quote ticks:

| Column | Description |
| --- | --- |
| Time | Milliseconds since midnight |
| Bid Price | Best bid price |
| Bid Size | Size of the best bid |
| Ask Price | Best ask price |
| Ask Size | Size of the best ask |
| Suspicious | 1 if the tick is suspicious and 0 otherwise |

LEAN also reads tick files that don't have the Suspicious column.
