Terminal
↑↓ to select, press enter to go, use esc to exit
  • Pricing
  • Strategy Explorer Strategies Strategies
  • Research Research Research
  • Data
  • Documentation Docs Docs
  • Algorithm Lab Lab Lab
  • Sign In

Terminal

    Platform

  • Pricing
  • Strategy Explorer
  • Research
  • Datasets
  • Documentation
  • Algorithm Lab

    SIGN IN

  • Sign in
  • Don't have an account? Join QuantConnect Today

  • Sign up for Free

Welcome to
Algorithm Lab

We are dedicated to providing investors with a cutting-edge platform for rapidly creating quant investment strategies. Founded in 2012, we've empowered more than 250,000 quants and engineers to create and trade their ideas.

Terminal image Terminal image
Your Quantitative Foundation

Learning Center

Quickly and easily started with our API to build your strategy. The learning center lessons are interactive, step-by-step guides to make you productive as fast as possible.

BootCamp BootCamp
Explore Free and Paid Datasets

Vast Datasets

Focus your efforts on driving alpha, not parsing CSV files. Our cloud offers hundreds of terabytes of traditional and alternative data preformatted, cleaned, and instantly accessible by our API.

Datasets Datasets
Collaborate with Your Team

Organizations

Coordinate teamwork, control access permissions, and your shared cloud resources. Grow your trading organization safely and efficiently on top of our cloud architecture.

Organizations
Jumpstart Your Algorithm Development

Strategy Explorer

A selection of streaming live-trading strategies written by QuantConnect, and top highlights from the community available to follow and clone. Peer into detailed real-time positions to gain insight for your own trading.

Strategy Explorer Strategy Explorer


Loading Algorithm Lab v3.0...
  • my-projects my-projects
    my-projects my-projects
    Projects
  • my-projects my-projects
    my-projects my-projects
    Organization
  • my-projects my-projects
    my-projects my-projects
    Learning Center
  • my-projects my-projects
    my-projects my-projects
    Datasets
  • Strategy Explorer Strategy Explorer
    Strategy Explorer Strategy Explorer
    Strategies
  • my-projects my-projects
    my-projects my-projects
    Support
  •  
close lesson close lesson
search icon search icon
  • Learning Center Home Learning Center Home All Courses
  • My courses in progress My courses in progress In Progress
  • My courses Completed My courses Completed Completed
  • My Wish List My Wish List Wish List
  • My Wish List My Wish List Articles

What is Boot Camp?

Boot Camp is a great way to improve your skills and learn the QuantConnect API in easily digestible portions.

Learning Center

Your Quantitative Foundation

A collection of courses from independent educators to improve your quant skill base and create better strategies.

Available Courses

Solidify and expand your quant skill base with courses at QuantConnect

Boot Camp 101 / US Equities

Learn algorithmic trading with python for US Equities. Guided strategy development in easily digestible portions.

Author: QuantConnect

Free  |  100,390 People Enrolled

Boot Camp 102 / FOREX

Learn algorithmic trading with python for FX. Guided strategy development in easily digestible portions.

Author: QuantConnect

Free  |  21,409 People Enrolled

Boot Camp 103 / Futures

Learn algorithmic trading with python for Futures. Guided strategy development in easily digestible portions.

Author: QuantConnect

Free  |  8,145 People Enrolled

Algorithmic Trading A-Z | The Complete Course

In this algorithmic trading tutorial series you will learn everything you need to know to start writing your own trading bots using Python and the QuantConnect quantitative trading platform.

Author: Louis

Free  |  31,332 People Enrolled

Complete Algorithmic Trading Course

Master algorithmic trading with Python and AI. Backtest & live‑trade stocks, options, futures, forex and crypto

Author: Cheng Li

Paid  |  Enroll on Udemy

Python for Finance and Algorithmic Trading with QuantConnect

Learn to use Python, Pandas, Matplotlib, and the QuantConnect Lean Engine to perform financial analysis and trading.

Author: Jose Portilla, Pierian Training

Paid  |  Enroll on Udemy

Crypto Trading with QuantConnect (C#)

Learn to write programs that algorithmically trade cryptocurrencies using QuantConnect (C#).

Author: Eric Summers

Paid  |  Enroll on Udemy

List Your Course List Your Course

List Your Course

Choose a Template
Close Menu Close Menu

Basic

  • Use Default Template

Use Strategy Explorer Template

Profile Image

Quant Developer

FREE UPGRADE

Start

  • create new algorithm create new algorithm New Algorithm
  • open project open project Open Project
  • open project open project Explore Strategies

Resources

Notes icons

Organization Notes

start icon

Get Started with Algorithm Lab

Close Widget Close Widget
  • Signed Up
  • Create a Project Complete Task Complete Task
  • Backtest Your Project Complete Task Complete Task
  • Live Deploy Your Project Complete Task Complete Task
research icon

New Research

Filtering Trades With the Fear and Greed Index

Use the Fear & Greed Index as a trade filter, going long when fearful, to boost net profits....

Read

News & Releases

Close Widget Close Widget

The QuantConnect Team wishes you

MERRY CHRISTMAS
Close Widget Close Widget
HAPPY NEW YEAR!

From the QuantConnect Team

Close Widget Close Widget
Profile Image

You've been with us for 0 years!

HAPPY ANNIVERSARY!

Thanks for being our valuable member.

Close Widget Close Widget
Milestone flag

New Milestone

1000 BACKTESTS

You’ve run 1000 backtests, congrats champ!

Close Widget Close Widget
Milestone flag

New Milestone

10 PROJECTS

You created 10 projects on QuantConnect, happy coding!

Close Widget Close Widget
Milestone flag

New Milestone

FIRST LIVE TRADE

You’ve launched your first live trade, congratulations!

announce icon

New Announcement

QuantConnect MCP Server

Read
league icon

Quant League

  • OPEN LEAGUE
  • PRO LEAGUE
Currently Leading View Competition

Concordia University

Sharpe: 4.37

Lake Forest College

Sharpe: 1.93

University of the District of Columbia

Sharpe: 1.76
Currently Leading View Competition

Scalia - HTF Volatility and Liquidation Hunter

Sharpe: 7.1

Scalia - Volatility Tiger

Sharpe: 3.97

Multiverse Regression Selector

Sharpe: 3.3
roadmap icon

Upcoming Roadmap

  • UPVOTE

78 Walk Forward Optimization

View All
Online Members
+ Add Members
Quick Links
Research Community Quant League Documentation Learn

Begin Your QuantConnect Journey

Algorithm Lab is your playground for developing and refining trading algorithms with QuantConnect. Utilize advanced tools, historical data, and robust backtesting to enhance your trading strategies. Transform your ideas into actionable insights and optimize your trading approach with ease.

Sign Up for Free

Already have an account Log In.

Your Account

Summary

PROJECTS

BACKTESTS

LIVE VOLUME

PUBLIC ALGORITHMS

LIVE DEPLOYMENTS

LINES OF CODE

Account Settings

What is your preferred language?
What is your preferred color theme?
Subscriptions
Manage Email Subscriptions

Terminal Settings

Security

Change Password Deactivate 2FA Authentication

This account is protected by two-factor authentication.

Request Token Information Reset My Token
Active Sessions
Created Last Time Used Agent  

No entries found

Account Deactivation

Deactivating your account hides your profile and data from other members. We retain your data (except backtests older than 90 days) in case you reactivate later. To permanently delete your account, please contact us directly.

Learn more Contact us
Do you really want to cancel the subscription ?
Please, first downgrade to free all your organizations.
Ok
Do you really want to delete your account ?

To continue please enter your email:

Set up Google Authenticator

(No google account required)

First Install the Required Application

  1. 1. On your phone go to Google Play Store (Android) or Apple Store (iPhone)
  2. 2. Search for Google Authenticator
  3. 3. Download and install the application

Now open the Google Authenticator Application

  1. 4.- In the application, touch 'Begin Setup'
  2. 5.- Select 'Scan barcode'
  3. 6.- Using your phone camera scan this barcode

Final Verification

To verify that everything goes well please enter the 6 digit verification code generated by the authenticator application

Begin Your QuantConnect Journey

Algorithm Lab is your playground for developing and refining trading algorithms with QuantConnect. Utilize advanced tools, historical data, and robust backtesting to enhance your trading strategies. Transform your ideas into actionable insights and optimize your trading approach with ease.

Sign Up for Free

Already have an account Log In.

data Manager View
Requesting coding environment...

No Coding Session Available No Coding Session Available Retry


Please stop one of the following coding sessions, or upgrade your account.

NAME ORGANIZATION

Upgrade Coding Environment

QuantConnect Datasets

Datasets

  • all datasets all datasets All Datasets 0
  • list datasets list datasets List Dataset
  • list datasets list datasets Data Issues +99
  • status status Data Status
  • sales report sales report Sales Report
  • All
  • Geospatial Data
  • Commerce Data
  • Financial Market Data
  • Consumer Data
  • B2B Data
  • Transport and Logistics Data
  • Environmental Data
  • Credit Rating Data
  • Real Estate Data
  • Web Data
  • Legal Data
  • Healthcare Data
  • Entertainment Data
  • Energy Data
  • Industry Data
  • Political Data
  • News and Events

Datasets > VIX Central Contango

Datasets

Explore free and paid datasets available on QuantConnect covering fundamentals, pricing, and alternative options.

select icon select icon
select icon select icon
select icon select icon
 
List Dataset

New

US Equity Security Master

Corporate action data source for splits, dividends, mergers, acquisitions, IPOs, and delistings.

  • 27,500 US Equities
  • January 1998
  • Free in Cloud
Learn More
New

US Futures Security Master

Rolling reference data for popular CME Futures contracts.

  • 162 Future Contracts
  • May 2009
  • Free in Cloud
Learn More
New

US Equity Coarse Universe

Universe of all US Equities with closing price and volume for Coarse Universe Selection.

  • 30,000 US Equities
  • January 1998
  • Free in Cloud
Learn More
New

US ETF Constituents

Equity constituent components and weightings for US ETF listings. This data is ideal for universe selection without selection bias.

  • 2,650 US ETF Listings
  • June 2009
  • Free in Cloud
Learn More
New

International Future Universe

FESX, HSI, and NKD Futures universe for fast future contract selection with prices, expiration dates and open interests

  • 4 contracts
  • July 1998
  • Free in Cloud
Learn More
New

US Future Option Universe

Future Options universe for fast option contract selection.

  • 16 Monthly Future Contracts
  • January 2012
  • Free in Cloud
Learn More
New

US Future Universe

Futures universe for fast future contract selection with prices, expiration dates and open interests

  • 162 Most Liquid Futures
  • May 2009
  • Free in Cloud
Learn More
New

US Equity Option Universe

Precalculated daily greeks for fast option-contract selection.

  • 4,000 Equity Options
  • January 2012
  • Free in Cloud
Learn More
New

US Index Option Universe

Precalculated Daily Greeks for Fast Option Selection

  • 7 Index Options
  • January 2012
  • Free in Cloud
Learn More
New

US Equities Short Availability

Available shares for open short positions in the US Equity market.

  • 10,500 US Equities
  • January 2018
  • Free in Cloud
Learn More
New

US Fundamental Data

Corporate Fundamental data for fine universe selection based on industry classification and underlying company performance indicators.

  • 8,000 US Equities
  • January 1998
  • Free in Cloud
Learn More
New

US Equities

Market data for all US listed and delisted Equities, ETFs, ETNs, ADRs, and Warrants.

  • 27,500 US Equities
  • January 1998
  • Free in Cloud
Learn More
New

US Equity Options

Trade and quote data for US Equity Options contracts.

  • 4,000 Equity Options
  • January 2012
  • Free in Cloud
Learn More
New

US Futures

Trade and quote data for the most liquid US Futures across the CME, CBOT, NYMEX, and COMEX markets.

  • 162 Most Liquid Futures
  • May 2009
  • Free in Cloud
Learn More
New

US Future Options

Future Options data for the most liquid US CME Future commodity contracts.

  • 16 Monthly Future Contracts
  • January 2012
  • Free in Cloud
Learn More
New

US Index Options

European Option contract data for 3 US Indices: SPX, VIX, and NDX.

  • 7 Index Options
  • January 2012
  • Free in Cloud
Learn More
New

International Futures

Trade and quote data for FESX, HSI, and NKD Future Contracts.

  • 4 Contracts
  • July 1998
  • Free in Cloud
Learn More
New

Benzinga News Feed

Financial articles and news publications condensed into a news feed with titles and article bodies for sentiment analysis

  • 1,250 Posts/Day, 8,000 Stocks
  • 1st January 2016
  • From $120/mo
Learn More
New

Tiingo News Feed

News releases from 120 different news providers for sentiment analysis.

  • 10,000 US Equities
  • January 2014
  • Free in Cloud
Learn More
New

Upcoming Earnings

Alert for upcoming earnings report of US Equities with report date, report time, and earnings estimation.

  • 27,500 US Equities
  • January 1998
  • Free in Cloud
Learn More
New

Upcoming IPOs

Alert for upcoming IPO events of primary US Equities with IPO start/filing/amended date, IPO deal type. IPO prices, and number of shares.

  • US Equities
  • February 2013
  • Free in Cloud
Learn More
New

Upcoming Splits

Alert for upcoming split and reverse split events of primary US Equities common shares with split date, and split factor.

  • 27,500 US Equities
  • January 2010
  • Free in Cloud
Learn More
New

Economic Events

Alert for upcoming economic events globally, including the date and estimates of macroeconomic indicator annoucement, special dates, etc.

  • 115 Countries
  • January 2019
  • Free in Cloud
Learn More
New

US Congress Trading

Trading activity of Congresspeople for potential insider trading signals based on early access to regulation changes.

  • 1,800 US Equities
  • January 2016
  • From $5/User/mo
Learn More
New

WallStreetBets

Mentions of US Equities on the r/wallstreetbets subreddit.

  • 6,000 US Equities
  • August 2018
  • From $5/User/mo
Learn More
New

Corporate Buybacks

US Equity buyback announcements and transactions scraped from SEC reports and secondary sources.

  • 3,000 US Equities
  • May 2015
  • From $20/User/mo
Learn More
New

US Regulatory Alerts - Financial Sector

RegAlytics is the leading provider of daily regulatory updates. They source data from over 5,000 regulators.

  • 400,000 Alerts
  • January 2020
  • From $10/mo
Learn More
New

Brain Sentiment Indicator

Proprietary sentiment analysis algorithm for US Equities.

  • 4,500 US Equities
  • August 2016
  • From $10/mo
Learn More
New

Brain ML Stock Ranking

Proprietary machine learning ranking algorithm for US Equities.

  • 1,000 US Equities
  • January 2010
  • From $10/mo
Learn More
New

Brain Language Metrics on Company Filings

Proprietary NLP algorithm that monitors several language metrics on company reports.

  • 3,000 US Equities
  • January 2010
  • From $10/mo
Learn More
New

Estimize

Estimates of company financials including EPS, revenues, and macroeconomic indicators based on 100,000+ crowdsourced predictions.

  • 2,800 US Equities
  • January 2011
  • $75/mo
Learn More
New

True Beats

Predictions of EPS and Revenues for US Equities based on expert opinions, peer opinions, and historical performance.

  • Over 5,000 US Equities
  • January 2000
  • $75/mo
Learn More
New

Tactical

Likelihood score of short-term price movements driven by technical indicators.

  • Over 5,000 US Equities
  • January 2000
  • $75/mo
Learn More
New

Cross Asset Model

Scoring algorithm based on put-call spread of Equity Options, volatility skewness, and volume.

  • Over 3,000 US Equities
  • July 2005
  • $75/mo
Learn More
New

Composite Factor Bundle

Daily proprietary signals for quality, value, momentum, growth, and low volatility factors, which are used by the leading quant funds.

  • 8,000 US Equities
  • January 2003
  • From $39/mo
Learn More
New

CNBC Trading

CNBC Trading tracks the recommendations made by media personalities on CNBC.

  • 1,515 US Equities
  • December 2020
  • From $5/User/mo
Learn More
New

US Government Contracts

Use the USASpending.gov API to track government contracts granted to publicly traded companies.

  • 748 US Equities
  • October 2019
  • From $5/User/mo
Learn More
New

Corporate Lobbying

Lobbying activities of companies to political or legislative figures, including clients, issues concerned, and amount paid.

  • 1,418 US Equities
  • January 1999
  • From $5/User/mo
Learn More
New

Insider Trading

Insider Trading tracks trades made by the own company executives, implying if they were bullish or bearish on their own companies.

  • 4994 US Equities
  • 25 April 2014
  • From $5/User/mo
Learn More
New

US SEC Filings

Semi-parsed Quarterly Financial Reports (10-Q) and Annual Financial Report (8-K) filings of companies for US Equities.

  • 15,000 US Equities
  • January 1998
  • Free in Cloud
Learn More
New

US Federal Reserve (FRED)

Collection of thousands of economic datasets maintained by the US Government.

  • 560 Datasets
  • January 1999
  • Free
Learn More
New

Data Link

Nasdaq Data Link, previously known as Quandl, is a premier marketplace for financial, economic, and alternative data sets.

  • More than 20 million datasets
  • Various
  • Free in Cloud
Learn More
New

Bybit Crypto Price Data

Trade and quote data for the Bybit Crypto exchange, collected by CoinAPI.

  • 721 Currency Pairs
  • April 2022
  • Price Update II
Learn More
New

Bybit Crypto Future Price Data

Trade and quote data for the Bybit Crypto Future exchanges, collected by CoinAPI.

  • 433 Crypto Future Pairs
  • October 2019
  • Free in Cloud
Learn More
New

Bybit Crypto Future Margin Rate Data

Margin interest rate data for the Bybit Crypto Future exchanges, collected by QuantConnect.

  • 433 Crypto Future Pairs
  • August 2020
  • Price CTA
Learn More
New

Fear and Greed

A daily index between 0 and 100, representing the degree of fear or greed in the US Equity market.

  • 7 Indicators
  • July 2014
  • Free in Cloud
Learn More
New

FOREX Data

Quote data for Forex pairs.

  • 71 Currency Pairs
  • January 2007
  • Free in Cloud
Learn More
New

CFD Data

Quote data for Contracts for Difference (CFD).

  • 51 Contracts
  • May 2002
  • Free in Cloud
Learn More
New

Coinbase Crypto Price Data

Trade and quote data for the Coinbase Pro Crypto exchange, collected by CoinAPI.

  • 860 Currency Pairs
  • January 2015
  • Free in Cloud
Learn More
New

Bitfinex Crypto Price Data

Trade and quote data for the Bitfinex Crypto exchange, collected by CoinAPI.

  • 383 Currency Pairs
  • January 2013
  • Free in Cloud
Learn More
New

Binance Crypto Price Data

Trade and quote data for the Binance Crypto exchange, collected by CoinAPI.

  • 2,684 Currency Pairs
  • July 2017
  • Free in Cloud
Learn More
New

Kraken Crypto Price Data

Trade and quote data for the Kraken Crypto exchange, collected by CoinAPI.

  • 710 Currency Pairs
  • October 2013
  • Free in Cloud
Learn More
New

Binance US Crypto Price Data

Trade and quote data for the Binance US Crypto exchange, collected by CoinAPI.

  • 541 Cryptocurrency pairs
  • October 2019
  • Free in Cloud
Learn More
New

Binance Crypto Future Price Data

Trade and quote data for the Binance Crypto Future exchanges, collected by CoinAPI.

  • 421 Crypto Future Pairs
  • August 2020
  • Free in Cloud
Learn More
New

Binance Crypto Future Margin Rate Data

Margin interest rate data for the Binance Crypto Future exchanges, collected by QuantConnect.

  • 421 Crypto Future Pairs
  • August 2020
  • Free in Cloud
Learn More
New

US Interest Rate

Primary credit rate from the Federal Open Market Committee (FOMC)

  • 1 Country: US
  • January 2003
  • Price CTA
Learn More
New

Macroeconomics Indicators

39 Macroeconomic Indicators data for 249 countries/regions, including the date, value, and frequency.

  • 39 Indicators, 249 Countries/Regions
  • January 1998
  • Free in Cloud
Learn More
New

Upcoming Dividends

Alert for upcoming dividend events of primary US Equities common shares with dividend important dates, and dividend per share.

  • 27,500 US Equities
  • January 2015
  • Free in Cloud
Learn More
New

US Energy Information Administration (EIA)

Supply and demand information for US Crude Products.

  • 190 Datasets
  • January 1991
  • Free
Learn More
New

US Treasury Yield Curve

Yield curve rates for US Government bonds over all common maturity dates. The data is scraped from the US Treasury website.

  • US Daily Treasury Yield Rates
  • January 1990
  • Free
Learn More
New

VIX Central Contango

Contango rates over time for the VIX Contract. The data is provided by VIXCentral and cached by QuantConnect.

  • 1 Dataset
  • June 2010
  • Free
Learn More
New

VIX Daily Price

Daily export of OHLC daily price for VIX-related products. The data is supplied by the CBOE and cached by QuantConnect.

  • 18 Datasets
  • January 1990
  • Free
Learn More
New

Cash Indices

Price data for 125 US Cash indices and 2 international indices (HSI and SX5E). This data provides the underlying price for Index Options of NDX, SPX, RUT, and VIX.

  • 125 US indices and 3 International indices
  • January 1998
  • Free in Cloud
Learn More
New

Bitcoin Metadata

Bitcoin processing fundamental data such as hash rate, miner revenue, and number of transactions.

  • Bitcoin blockchain
  • Jan 2009
  • Free in Cloud
Learn More
New

Crypto Market Cap

Cryptocurrencies market cap data is provided by CoinGecko and cached by QuantConnect.

  • 620 cryptocurrencies
  • 28 April 2013
  • Free Research
Learn More
 
resources-icon
Datasets Browse Available Datasets

Datasets >

Dashboard

Data Sale Reports

  • 2025 - August
  • 2025 - July
  • 2025 - June
  • 2025 - May
  • 2025 - April
  • 2025 - March
  • 2025 - February
  • 2025 - January
  • 2024 - December
  • 2024 - November
  • 2024 - October
  • 2024 - September
  • 2024 - August
  • 2024 - July
  • 2024 - June
  • 2024 - May
  • 2024 - April
  • 2024 - March
  • 2024 - February
  • 2024 - January
  • 2023 - December
  • 2023 - November
  • 2023 - October
  • 2023 - September
  • 2023 - August

Datasets Manual Subscriptions

 

 



Data Issues

A transparent, community reporting system. Report suspected issues with our cloud data to be investigated by the QuantConnect Team.

search icon search icon
  • Issues
  • Issue
  • Report Issue

Issue List

Loading...

  • Page of 1

Data Explorer Issues are a way to report and track data problems. They give the QuantConnect community a way to discuss potential solutions and be notified when they are resolved. If you think you have found a data problem please check the existing open and closed issues first; often another user may have already reported your problem.

Issue Type

Does your issue match any of the already listed issues?

Thank you for your contribution! Our team is currently working on resolving these issues, please subscribe to them to receive updates.










Datasets >

VIX Central Contango

dataset-logo
dataset-logo

VIX Central Contango

Dataset by VIX Central

  • About
  • Documentation
  • Research
  • Examples
  • Licenses
  • CLI
  • Pricing

Introduction

The VIX Central Contango dataset by VIX Central tracks VIX Futures (VX) contango data. The data covers 12 Futures contracts closest to expiry/maturity, starts in June 2010, and is delivered on a daily frequency. The dataset is created by QuantConnect downloading data from VIX Central website, which collects and analyses VIX and VX (VIX Futures) data.

Contango and Backwardation are terms used to describe if participants in the Futures market are overpaying or underpaying relative to the "spot" price of the underlying commodity when trading a Futures contract ("spot" price is the price of the actual commodity/asset at a given moment in time). Contango and backwardation can be used to determine forward-looking expectations of the commodity's spot price by the time the Future has expired/matured and is set to be delivered by participants of the Futures market. As Futures near their expiration/maturity date, contango and backwardation curves tend to converge on the spot price of the commodity at the time of expiration.

About the Provider

VIX Central was founded by Eli Mintz in 2012 with goal of displaying historical VIX term structures in a simple and intuitive interface. VIX Central provides access to real-time and historical VIX data for individual investors.

Getting Started

The following snippet demonstrates how to request data from the VIX Central Contango dataset:

Select Language:
using QuantConnect.DataSource;

_datasetSymbol = AddData<VIXCentralContango>("VIX", Resolution.Daily).Symbol;
from QuantConnect.DataSource import *

self.dataset_symbol = self.add_data(VIXCentralContango, "VIX", Resolution.DAILY).symbol

Data Summary

The following table describes the dataset properties:

Property Value
Start Date June 2010
Asset Coverage 1 Futures Chain with 12 contracts
Data Density Regular
Resolution Daily
Timezone New York

Example Applications

The VIX Central Contango dataset enables you to explore VIX Future contracts pricing data. Examples include the following strategies:

  • Determining forward-looking expectations by Futures market participants of the underlying commodity's spot price by the time of expiration/maturity
  • Creating cash-and-carry arbitrage strategies by trading the spread/convergence of the contango/backwardation curves as a Future nears expiration/maturity

For more example algorithms, see Examples.

Data Point Attributes

The VIX Central Contango dataset provides VIXCentralContango objects, which have the following attributes:

VIXCentralContango
    The month of the front month contract (possible values: 1 - 12)
  • front_month: Int32
  • Front month contract
  • f_1: decimal
  • Contract 1 month away from the front month contract
  • f_2: decimal
  • Contract 2 months away from the front month contract
  • f_3: decimal
  • Contract 3 months away from the front month contract
  • f_4: decimal
  • Contract 4 months away from the front month contract
  • f_5: decimal
  • Contract 5 months away from the front month contract
  • f_6: decimal
  • Contract 6 months away from the front month contract
  • f_7: decimal
  • Contract 7 months away from the front month contract
  • f_8: decimal
  • Contract 8 months away from the front month contract
  • f_9: decimal
  • Contract 9 months away from the front month contract
  • f_10: decimal
  • Contract 10 months away from the front month contract
  • f_11: decimal
  • Contract 11 months away from the front month contract
  • f_12: decimal
  • Percentage change between contract F2 and F1, calculated as: (F2 - F1) / F1
  • contango_f_2_minus_f_1: decimal
  • Percentage change between contract F7 and F4, calculated as: (F7 - F4) / F4
  • contango_f_7_minus_f_4: decimal
  • Percentage change between contract F7 and F4 divided by 3, calculated as: ((F7 - F4) / F4) / 3
  • contango_f_7_minus_f_4_div_3: decimal
  • The timespan that each data point covers
  • period: TimeSpan
  • The ending time of the data point
  • end_time: DateTime
  • Market Data Type of this data - does it come in individual price packets or is it grouped into OHLC.
  • data_type: MarketDataType
  • True if this is a fill forward piece of data
  • is_fill_forward: bool
  • Current time marker of this data packet.
  • time: DateTime
  • Symbol representation for underlying Security
  • symbol: Symbol
  • Value representation of this data packet. All data requires a representative value for this moment in time. For streams of data this is the price now, for OHLC packets this is the closing price.
  • value: decimal
  • As this is a backtesting platform we'll provide an alias of value as price.
  • price: decimal
    The month of the front month contract (possible values: 1 - 12)
  • FrontMonth: Int32
  • Front month contract
  • F1: decimal
  • Contract 1 month away from the front month contract
  • F2: decimal
  • Contract 2 months away from the front month contract
  • F3: decimal
  • Contract 3 months away from the front month contract
  • F4: decimal
  • Contract 4 months away from the front month contract
  • F5: decimal
  • Contract 5 months away from the front month contract
  • F6: decimal
  • Contract 6 months away from the front month contract
  • F7: decimal
  • Contract 7 months away from the front month contract
  • F8: decimal
  • Contract 8 months away from the front month contract
  • F9: decimal
  • Contract 9 months away from the front month contract
  • F10: decimal
  • Contract 10 months away from the front month contract
  • F11: decimal
  • Contract 11 months away from the front month contract
  • F12: decimal
  • Percentage change between contract F2 and F1, calculated as: (F2 - F1) / F1
  • Contango_F2_Minus_F1: decimal
  • Percentage change between contract F7 and F4, calculated as: (F7 - F4) / F4
  • Contango_F7_Minus_F4: decimal
  • Percentage change between contract F7 and F4 divided by 3, calculated as: ((F7 - F4) / F4) / 3
  • Contango_F7_Minus_F4_Div_3: decimal
  • The timespan that each data point covers
  • Period: TimeSpan
  • The ending time of the data point
  • EndTime: DateTime
  • Market Data Type of this data - does it come in individual price packets or is it grouped into OHLC.
  • DataType: MarketDataType
  • True if this is a fill forward piece of data
  • IsFillForward: bool
  • Current time marker of this data packet.
  • Time: DateTime
  • Symbol representation for underlying Security
  • Symbol: Symbol
  • Value representation of this data packet. All data requires a representative value for this moment in time. For streams of data this is the price now, for OHLC packets this is the closing price.
  • Value: decimal
  • As this is a backtesting platform we'll provide an alias of value as price.
  • Price: decimal

 


Requesting Data

To add VIX Central Contango data to your algorithm, call the AddDataadd_data method. Save a reference to the dataset Symbol so you can access the data later in your algorithm.

Select Language:
class VixCentralContangoAlgorithm(QCAlgorithm):
 
    def initialize(self) -> None:
        self.set_start_date(2014, 1, 1)
        self.set_end_date(2018, 1, 1)
        self.set_cash(25000)
 
        self.dataset_symbol = self.add_data(VIXCentralContango, "VX", Resolution.DAILY).symbol
public class VixCentralContangoAlgorithm : QCAlgorithm
{
    private Symbol _datasetSymbol;

    public override void Initialize()
    {
        SetStartDate(2014, 1, 1);
        SetEndDate(2018, 1, 1);
        SetCash(25000);

        _datasetSymbol = AddData<VIXCentralContango>("VX", Resolution.Daily).Symbol;
    }
}

Accessing Data

To get the current VIX Central Contango data, index the current Slice with the dataset Symbol. Slice objects deliver unique events to your algorithm as they happen, but the Slice may not contain data for your dataset at every time step. To avoid issues, check if the Slice contains the data you want before you index it.

Select Language:
def on_data(self, slice: Slice) -> None:
    if slice.contains_key(self.dataset_symbol):
        data_point = slice[self.dataset_symbol]
        self.log(f"{self.dataset_symbol} front month at {slice.time}: {data_point.front_month}")
public override void OnData(Slice slice)
{
    if (slice.ContainsKey(_datasetSymbol))
    {
        var dataPoint = slice[_datasetSymbol];
        Log($"{_datasetSymbol} front month at {slice.Time}: {dataPoint.FrontMonth}");
    }
}

Historical Data

To get historical VIX Central Contango data, call the Historyhistory method with the dataset Symbol. If there is no data in the period you request, the history result is empty.

Select Language:
# DataFrame
history_df = self.history(self.dataset_symbol, 100, Resolution.DAILY)

# Dataset objects
history_bars = self.history[VIXCentralContango](self.dataset_symbol, 100, Resolution.DAILY)
var history = History<VIXCentralContango>(_datasetSymbol, 100, Resolution.Daily);

For more information about historical data, see History Requests.

Remove Subscriptions

To remove your subscription to VIX Central Contango data, call the RemoveSecurityremove_security method.

Select Language:
self.remove_security(self.dataset_symbol)
RemoveSecurity(_datasetSymbol);

Data Point Attributes

The VIX Central Contango dataset provides VIXCentralContango objects, which have the following attributes:

VIXCentralContango
    The month of the front month contract (possible values: 1 - 12)
  • front_month: Int32
  • Front month contract
  • f_1: decimal
  • Contract 1 month away from the front month contract
  • f_2: decimal
  • Contract 2 months away from the front month contract
  • f_3: decimal
  • Contract 3 months away from the front month contract
  • f_4: decimal
  • Contract 4 months away from the front month contract
  • f_5: decimal
  • Contract 5 months away from the front month contract
  • f_6: decimal
  • Contract 6 months away from the front month contract
  • f_7: decimal
  • Contract 7 months away from the front month contract
  • f_8: decimal
  • Contract 8 months away from the front month contract
  • f_9: decimal
  • Contract 9 months away from the front month contract
  • f_10: decimal
  • Contract 10 months away from the front month contract
  • f_11: decimal
  • Contract 11 months away from the front month contract
  • f_12: decimal
  • Percentage change between contract F2 and F1, calculated as: (F2 - F1) / F1
  • contango_f_2_minus_f_1: decimal
  • Percentage change between contract F7 and F4, calculated as: (F7 - F4) / F4
  • contango_f_7_minus_f_4: decimal
  • Percentage change between contract F7 and F4 divided by 3, calculated as: ((F7 - F4) / F4) / 3
  • contango_f_7_minus_f_4_div_3: decimal
  • The timespan that each data point covers
  • period: TimeSpan
  • The ending time of the data point
  • end_time: DateTime
  • Market Data Type of this data - does it come in individual price packets or is it grouped into OHLC.
  • data_type: MarketDataType
  • True if this is a fill forward piece of data
  • is_fill_forward: bool
  • Current time marker of this data packet.
  • time: DateTime
  • Symbol representation for underlying Security
  • symbol: Symbol
  • Value representation of this data packet. All data requires a representative value for this moment in time. For streams of data this is the price now, for OHLC packets this is the closing price.
  • value: decimal
  • As this is a backtesting platform we'll provide an alias of value as price.
  • price: decimal
    The month of the front month contract (possible values: 1 - 12)
  • FrontMonth: Int32
  • Front month contract
  • F1: decimal
  • Contract 1 month away from the front month contract
  • F2: decimal
  • Contract 2 months away from the front month contract
  • F3: decimal
  • Contract 3 months away from the front month contract
  • F4: decimal
  • Contract 4 months away from the front month contract
  • F5: decimal
  • Contract 5 months away from the front month contract
  • F6: decimal
  • Contract 6 months away from the front month contract
  • F7: decimal
  • Contract 7 months away from the front month contract
  • F8: decimal
  • Contract 8 months away from the front month contract
  • F9: decimal
  • Contract 9 months away from the front month contract
  • F10: decimal
  • Contract 10 months away from the front month contract
  • F11: decimal
  • Contract 11 months away from the front month contract
  • F12: decimal
  • Percentage change between contract F2 and F1, calculated as: (F2 - F1) / F1
  • Contango_F2_Minus_F1: decimal
  • Percentage change between contract F7 and F4, calculated as: (F7 - F4) / F4
  • Contango_F7_Minus_F4: decimal
  • Percentage change between contract F7 and F4 divided by 3, calculated as: ((F7 - F4) / F4) / 3
  • Contango_F7_Minus_F4_Div_3: decimal
  • The timespan that each data point covers
  • Period: TimeSpan
  • The ending time of the data point
  • EndTime: DateTime
  • Market Data Type of this data - does it come in individual price packets or is it grouped into OHLC.
  • DataType: MarketDataType
  • True if this is a fill forward piece of data
  • IsFillForward: bool
  • Current time marker of this data packet.
  • Time: DateTime
  • Symbol representation for underlying Security
  • Symbol: Symbol
  • Value representation of this data packet. All data requires a representative value for this moment in time. For streams of data this is the price now, for OHLC packets this is the closing price.
  • Value: decimal
  • As this is a backtesting platform we'll provide an alias of value as price.
  • Price: decimal

 


Classic Algorithm Design

The following example algorithm buys SPY when the percentage change between contract F2 and F1 (Contango_F2_Minus_F1) is positive. Otherwise, it remains in cash.

Select Language:
from AlgorithmImports import *
from QuantConnect.DataSource import *

class VixCentralContangoAlgorithm (QCAlgorithm):

    def initialize(self) -> None:
        self.set_start_date(2014,1,1) 
        self.set_end_date(2018,1,1)  
        self.set_cash(25000)
        # SPY as market representative for macroeconomy indicator trading
        self.spy = self.add_equity("SPY", Resolution.DAILY).symbol
        # Request VIX Contango data for trade signal generation
        self.contango = self.add_data(VIXCentralContango, "VX", Resolution.DAILY).symbol

    def on_data(self, slice: Slice) -> None:
        # Trade base on the updated VIX contango data
        contango_data = slice.Get(VIXCentralContango, self.contango)
        ratio = contango_data.contango_f2_minus_f1 if contango_data else 0

        # Bet the market will go up if F2 - F1 price percentage change is positive, meaning the near-term market volatility is expected to be low
        if not self.portfolio.invested and ratio > 0:
            self.market_order(self.spy, 100)
        # Liqudiate otherwise to avoid excessive market volatility
        elif ratio < 0:
            self.liquidate()
public class VixCentralContangoAlgorithm : QCAlgorithm
{
    private Symbol _spy;
    private Symbol _contango;

    public override void Initialize()
    {
        SetStartDate(2014, 1, 1);
        SetEndDate(2018, 1, 1);
        SetCash(25000);
        // SPY as market representative for macroeconomy indicator trading
        _spy = AddEquity("SPY", Resolution.Daily).Symbol;
        // Request VIX Contango data for trade signal generation
        _contango = AddData<VIXCentralContango>("VX", Resolution.Daily).Symbol;
    }

    public override void OnData(Slice slice)
    {
        // Trade base on the updated VIX contango data
        var contangoData = slice.Get<VIXCentralContango>(_contango);
        var ratio = contangoData?.Contango_F2_Minus_F1 ?? 0;

        // Bet the market will go up if F2 - F1 price percentage change is positive, meaning the near-term market volatility is expected to be low
        if (!Portfolio.Invested && ratio > 0)
        {
            MarketOrder(_spy, 100);
        }
        // Liqudiate otherwise to avoid excessive market volatility
        else if(ratio < 0)
        {
                Liquidate();
        }
    }
}

Framework Algorithm Design

The following example algorithm buys SPY when the percentage change between contract F2 and F1 (Contango_F2_Minus_F1) is positive. Otherwise, it remains in cash.

Select Language:
from AlgorithmImports import *
from QuantConnect.DataSource import *

class VixCentralContangoAlgorithm (QCAlgorithm):

    def initialize(self) -> None:
        self.set_start_date(2014,1,1) 
        self.set_end_date(2018,1,1)  
        self.set_cash(25000)
        
        self.universe_settings.resolution = Resolution.DAILY
        # Include SPY as market representative for macroeconomy indicator trading
        symbols = [Symbol.create("SPY", SecurityType.EQUITY, Market.USA)]
        self.add_universe_selection(ManualUniverseSelectionModel(symbols))   
        # Custom alpha model that emit insights base on VIX contango data
        self.add_alpha(ContangoAlphaModel(self))
        # Equal weighting investment to evenly dissipate the capital concentration risk on non-systematic risky event
        self.set_portfolio_construction(EqualWeightingPortfolioConstructionModel())

class ContangoAlphaModel(AlphaModel):

    def __init__(self, algorithm: QCAlgorithm) -> None:
        self.symbols = []
        # Request VIX Contango data for trade signal generation
        self.contango = algorithm.add_data(VIXCentralContango, "VX", Resolution.DAILY).symbol

        # Historical data
        history = algorithm.history(VIXCentralContango, self.contango, 60, Resolution.DAILY)
        algorithm.debug(f"We got {len(history.index)} items from our history request")
        
    def update(self, algorithm: QCAlgorithm, slice: Slice) -> List[Insight]:
        insights = []

        # Trade base on the updated VIX contango data
        contango_data = slice.Get(VIXCentralContango, self.contango)
        ratio = contango_data.contango_f2_minus_f1 if contango_data else 0

        # Bet the market will go up if F2 - F1 price percentage change is positive, meaning the near-term market volatility is expected to be low
        if not algorithm.portfolio.invested and ratio > 0:
            for symbol in self.symbols:
                insights += [Insight.price(symbol, Expiry.ONE_MONTH, InsightDirection.UP)]
        # Liqudiate otherwise to avoid excessive market volatility
        elif ratio < 0:
            for symbol in self.symbols:
                insights += [Insight.price(symbol, Expiry.ONE_MONTH, InsightDirection.FLAT)]

        return insights
        
    def on_securities_changed(self, algorithm: QCAlgorithm, changes: SecurityChanges) -> None:
        for symbol in [x.symbol for x in changes.removed_securities]:
            if symbol in self.symbols: 
                self.symbols.pop(symbol)

        self.symbols += [x.symbol for x in changes.added_securities]
public class VixCentralContangoAlgorithm : QCAlgorithm
{
    public override void Initialize()
    {
        SetStartDate(2014, 1, 1);
        SetEndDate(2018, 1, 1);
        SetCash(25000);

        UniverseSettings.Resolution = Resolution.Daily;
        // Include SPY as market representative for macroeconomy indicator trading
        var symbols = new[] {QuantConnect.Symbol.Create("SPY", SecurityType.Equity, Market.USA)};
        AddUniverseSelection(new ManualUniverseSelectionModel(symbols));
        // Custom alpha model that emit insights base on VIX contango data
        AddAlpha(new ContangoAlphaModel(this));
        // Equal weighting investment to evenly dissipate the capital concentration risk on non-systematic risky event
        SetPortfolioConstruction(new EqualWeightingPortfolioConstructionModel());
    }
}

public class ContangoAlphaModel : AlphaModel
{
    private Symbol _contango;
    private List<Symbol> _symbols;

    public ContangoAlphaModel(QCAlgorithm algorithm)
    {
        _symbols = new List<Symbol>();
        // Request VIX Contango data for trade signal generation
        _contango = algorithm.AddData<VIXCentralContango>("VX", Resolution.Daily).Symbol;

        // Historical data
        var history = algorithm.History<VIXCentralContango>(_contango, 60, Resolution.Daily);
        algorithm.Debug($"We got {history.Count()} items from our history request");
    }

    public override IEnumerable<Insight> Update(QCAlgorithm algorithm, Slice slice)
    {
        var insights = new List<Insight>();

        // Trade base on the updated VIX contango data
        var contangoData = slice.Get<VIXCentralContango>(_contango);
        var ratio = contangoData?.Contango_F2_Minus_F1 ?? 0;

        // Bet the market will go up if F2 - F1 price percentage change is positive, meaning the near-term market volatility is expected to be low
        if (!algorithm.Portfolio.Invested && ratio > 0)
        {
            foreach (var symbol in _symbols)
            {
                insights.Add(Insight.Price(symbol, Expiry.OneMonth, InsightDirection.Up));
            }
        }
        // Liqudiate otherwise to avoid excessive market volatility
        else if (ratio < 0)
        {
            foreach (var symbol in _symbols)
            {
                insights.Add(Insight.Price(symbol, Expiry.OneMonth, InsightDirection.Flat));
            }
        }
        
        return insights;
    }

    public override void OnSecuritiesChanged(QCAlgorithm algorithm, SecurityChanges changes)
    {
        foreach (var symbol in changes.RemovedSecurities.Select(x=> x.Symbol))
        {
            _symbols.Remove(symbol);
        }
        _symbols.AddRange(changes.AddedSecurities.Select(x=> x.Symbol));
    }
}

 


Licensing Available

Cloud Usage

Cloud Usage

VIX Central Contango is allowed to be used in the cloud for personal and commercial projects for free. The data is permissioned for use within the licensed organization only

Free | Documentation

Live trading license available

LEAN CLI Downloads Usage

VIX Central Contango can be downloaded on premise with the LEAN CLI, for a charge per file downloaded. This download is for the licensed organization's internal LEAN use only and cannot be redistributed or converted in any format.

Starting at 5 QCC/file | Learn More


About Lean CLI

LEAN CLI is a cross-platform wrapper on the QuantConnect algorithmic trading engine called LEAN. The CLI makes using LEAN incredibly easy, reducing most of the pain points of developing and managing an algorithmic trading strategy to a few lines of bash.

Using the CLI you can download the same data QuantConnect hosts in the cloud for a small fee. These fees are per file downloaded, and are paid for in QuantConnect-Credits (QCC). We recommend purchasing credits to enable downloading.

CLI Command Generator

The CLI command generator is a helpful tool to generate a copy-paste command to download this dataset from the form below.

Select OS:
lean data download \
	--dataset "VIX Central Contango" 
lean data download `
	--dataset "VIX Central Contango" 

Pricing | Provider offers 2 licensing options edit edit

Pending

Cloud Access edit edit

edit edit

Freely harness VIX Contango data in the QuantConnect Cloud for your backtesting and live trading purposes.

  • Curated, clean data
  • Updated nightly at 4am
PRICE

Free

Documentation Subscribe cli button LEAN CLI Contact Us
Pending

On Premise edit edit

edit edit

VIX Contango data archived in LEAN format for on premise backtesting and research. One file that is updated daily.

  • Ownership of the data
  • Data in LEAN format
  • Local compute resources
PRICE

5 QCC/file

Documentation Subscribe cli button LEAN CLI Contact Us

User Reviews

What people are saying about this

No Reviews Yet

This product has not received any reviews yet, be the first to post one!

Write a Review

Rate the Module:

Hover over the stars to rate the module
Paste the media URL in the input.





Please sign in to post a review

Pricing

Provider offers 2 licensing options

View Pricing


Starting Date edit edit

  • June 2010

Coverage edit edit

  • 1 Dataset

Delivery Methods edit edit

  • Download
  • Cloud

About the Provider

  • Website edit edit
  • Contact the Provider

Data Status

Explore free and paid datasets available on QuantConnect covering fundamentals, pricing, and alternative options.

search icon search icon

Dataset Status from to

No Runs

OK

Degraded

Failure

Admin

Explore free and paid datasets available on QuantConnect covering fundamentals, pricing, and alternative options.

  • Add Dataset
  • Data Upload
  • Point Processor

Lorem ipsum dolor sit amet conjectura lorem ipsum dolor sit amet conjectura lorem ipsum

Configuration Keys

Environment Variables

Lorem ipsum dolor sit amet conjectura lorem ipsum dolor sit amet conjectura lorem ipsum

File Link

Lorem ipsum dolor sit amet conjectura lorem ipsum dolor sit amet conjectura lorem ipsum

Lorem ipsum dolor sit amet conjectura lorem ipsum dolor sit amet conjectura lorem ipsum

Upload Dataset

Upload a manually created tar or zip file to all cloud data systems.

Add a link and click the Sync Dataset button to upload the dataset

Upload Destinations

About Dataset Sync

The dataset synchronizer is an internal tool for the QuantConnect team to upload data to the cloud data storage environments. It supports TAR files which are extracted in the root directory of the cloud data environments.
Take extreme care to carefully structure your data TAR package with the same folders as the LEAN data folder. Ensure all folders and file names are lowercase as Linux is case-sensitive.

Support

Tickets and Seats

  • create new ticket create new ticket Create New Ticket
  • organization ticket organization ticket Organization Tickets 0
  • spport seat spport seat Support Seats

Support

Begin Your QuantConnect Journey

Algorithm Lab is your playground for developing and refining trading algorithms with QuantConnect. Utilize advanced tools, historical data, and robust backtesting to enhance your trading strategies. Transform your ideas into actionable insights and optimize your trading approach with ease.

Sign Up for Free

Already have an account Log In.

close close

How would you rate your experience on QuantConnect?

â­‘

â­‘

â­‘

â­‘

â­‘

Hover and click over the stars to rate us.

It looks like you are not fully satisfied with your experience on QuantConnect, please take a moment to let us know how we can improve our services for you:

trustpilot trustpilot

We are glad you're enjoying QuantConnect!

If you have a minute to spare, please leave us a review on Trustpilot.
Stories like yours help others see the full potential of QuantConnect.

Rate us on Trustpilot

Loading User Profile...

Please select one purchase option

Session Expired

Your session has expired. Please log in again.

Log In

  close-icon
switch organization switch organization Switch Organization
Organization
Type
Owner
Members
Preferred
switch organization switch organizationCreate Organization
Organization Name

update billing address update billing address Update Billing Information

Upgrade to Team plan or higher to enable custom invoicing

select icon select icon


Changes will be applied to future invoices.

Close modal Close modal
invite sent invite sent

Invitations Sent

Users will be able to join by following the link in the invitation email.

You’ve been invited by Jared Broad to join his G-Force Organization.
Would you like to accept the invitation?

Assign Seat
Close Widget Close Widget

Rename Encryption Key

Close Widget Close Widget

Delete Encryption Key

Are you sure you want to delete the encryption key "undefined"?

warning Caution: We will not be able to decrypt encrypted projects without the original key.

Close Widget Close Widget

Add Encryption Key

upload file icon upload file icon

Drag & Drop or

Keys are added to the local storage in your web browser and not uploaded to QuantConnect. To use an encrypted project on another computer you will need to bring a copy of the key.

Close modal Close modal
Authorize Decryption Authorize Decryption

Authorize

This project is encrypted using the key .

Close modal Close modal
Authorize Decryption Authorize Decryption

Authorize

This project will be encrypted using the key .