Data Format

Index Options

Introduction

Index Options data has trade, quote, and open interest data. LEAN stores Index Options prices multiplied by 10,000. The data time zone is America/New_York, which differs from the America/Chicago exchange time zone.

Folder Structure

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

ResolutionZip FileCSV File
Second and minuteindexoption / usa / <resolution> / <ticker> / <date>_<tickType>_<style>.zip<date>_<ticker>_<resolution>_<tickType>_<style>_<right>_<strike>_<expiry>.csv
Hour and dailyindexoption / usa / <resolution> / <ticker>_<year>_<tickType>_<style>.zip<ticker>_<tickType>_<style>_<right>_<strike>_<expiry>.csv

In these paths, <ticker> is the ticker of the option, which can differ from the ticker of the underlying index. For example, SPX weekly options use spxw. Each zip file contains one CSV file for each contract. For example, indexoption / usa / minute / spx / 20210104_quote_european.zip contains 20210104_spx_minute_quote_european_call_32000000_20210115.csv. This CSV file holds the quotes of the SPX $3,200 call that expires on January 15, 2021.

Bar Data

The following table shows the bar data, with example rows from the minute files of the SPX $3,200 call on January 4, 2021:

Data TypeResolutionsExample
Trade barSecond, minute, hour, and daily39180000,5160400,5160400,5160400,5160400,1
Quote barSecond, minute, hour, and daily34200000,5649000,5668000,5629000,5641000,115,5708000,5710000,5683000,5691000,115
Open interestSecond, minute, hour, and daily23400000,11755

You can also see our Videos. You can also get in touch with us via Discord.

Did you find this page helpful?

Contribute to the documentation: