What is Boot Camp?
Boot Camp is a great way to improve your skills and learn the QuantConnect API in easily digestible portions.
Don't have an account? Join QuantConnect Today
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.
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.
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.
Coordinate teamwork, control access permissions, and your shared cloud resources. Grow your trading organization safely and efficiently on top of our cloud architecture.
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.
What is Boot Camp?
Boot Camp is a great way to improve your skills and learn the QuantConnect API in easily digestible portions.
A collection of courses from independent educators to improve your quant skill base and create better strategies.
Solidify and expand your quant skill base with courses at QuantConnect
Learn algorithmic trading with python for US Equities. Guided strategy development in easily digestible portions.
Author: QuantConnect
Free | 96,008 People Enrolled
Learn algorithmic trading with python for FX. Guided strategy development in easily digestible portions.
Author: QuantConnect
Free | 20,588 People Enrolled
Learn algorithmic trading with python for Futures. Guided strategy development in easily digestible portions.
Author: QuantConnect
Free | 7,423 People Enrolled
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 | 28,792 People Enrolled
Master algorithmic trading on QuantConnect; backtest and live trade Stocks, Options, Futures, Forex, and Crypto.
Author: Cheng Li
Paid | Enroll on Udemy
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
Learn to write programs that algorithmically trade cryptocurrencies using QuantConnect (C#).
Author: Eric Summers
Paid | Enroll on Udemy
Organization Notes
Get Started with Algorithm Lab
New Research
Optimizing a Gold-SPY Portfolio Using Hidden Markov Models for Market Downtime
Gold-SPY portfolio optimization using Hidden Markov Models for minimizing market downturn risk....
ReadAlgorithm 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 FreeAlready have an account Log In.
This account is protected by two-factor authentication.
Request Token Information Reset My TokenCreated | Last Time Used | Agent | |
---|---|---|---|
No entries found |
To continue please enter your email:
(No google account required)
To verify that everything goes well please enter the 6 digit verification code generated by the authenticator application
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 FreeAlready have an account Log In.
Please stop one of the following coding sessions, or upgrade your account.
NAME | ORGANIZATION |
---|
QuantConnect Datasets
Explore free and paid datasets available on QuantConnect covering fundamentals, pricing, and alternative options.
Datasets >
Dashboard
A transparent, community reporting system. Report suspected issues with our cloud data to be investigated by the QuantConnect Team.
Issue List
Loading...
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.
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 >
US Index Options
Dataset by AlgoSeek
The US Index Options dataset by AlgoSeek provides Option data, including prices, strikes, expires, and open interest. The data covers European Option contracts for 3 US Indices: SPX, VIX, and NDX. It starts from January 2012 and is delivered on minute resolution. This dataset is created by monitoring the Options Price Reporting Authority (OPRA) data feed, which consolidates last sale and quotation information originating from the national securities exchanges that have been approved by the Securities and Exchange Commission.
The US Index Options dataset depends on the US Index Option Universe dataset because the US Index Options Universe dataset contains information on the available contracts, including their daily Greeks and implied volatility values.
AlgoSeek is a leading historical intraday US market data provider offering the most comprehensive and detailed market data and analytics products in the financial industry covering Equities, Futures, Options, cash FOREX, and Cryptocurrencies. AlgoSeek data is built for quantitative trading and machine learning. For more information about AlgoSeek, visit algoseek.com.
The following snippet demonstrates how to request data from the US Index Options dataset:
self.index_symbol = self.add_index('VIX').symbol
option = self.add_index_option(self.index_symbol)
option.set_filter(-2, 2, 0, 90)
self.option_symbol = option.symbol
_indexSymbol = AddIndex("VIX").Symbol;
var option = AddIndexOption(_indexSymbol);
option.SetFilter(-2, 2, 0, 90);
_optionSymbol = option.Symbol;
The following table describes the dataset properties:
Property | Value |
---|---|
Start Date | January 2012 |
Asset Coverage | 7 Index Options |
Data Density | Regular |
Resolution | Minute, Hourly, & Daily |
Timezone | New York |
Market Hours | Regular Only |
According to the SPX Options contract specification, some SPX contracts expire every month and SPXW contracts expires every day. Before 2021, you could only trade SPX contracts with the following expiration dates:
During this time, SPXW didn't have 0DTE every day.
Sources:
- Cboe Options Exchange to List Three Long-Dated SPX Options Expirations, Beginning November 1, 2021
- S&P 500 Weekly Options Now Expire Five Days a Week
The US Index Options dataset enables you to accurately design strategies for Index Options. Examples include the following strategies:
For more example algorithms, see Examples.
The US Index Options dataset provides TradeBar, QuoteBar, and OpenInterest objects.
TradeBar objects have the following attributes:
QuoteBar objects have the following attributes:
OpenInterest objects have the following attributes:
The following table shows the available Index Options:
Underlying Index | Underlying Ticker | Target Ticker | Standard Contracts | Weekly Contracts | Tradable on Expiry Day |
---|---|---|---|---|---|
NASDAQ-100 | NDX | ![]() |
|||
NASDAQ-100 | NDX | NDXP | ![]() |
![]() |
|
NASDAQ-100 | NDX | NQX | ![]() |
![]() |
![]() |
Russell 2000 | RUT | ![]() |
|||
Russell 2000 | RUT | RUTW | ![]() |
![]() |
|
S&P500 | SPX | ![]() |
|||
S&P500 | SPX | SPXW | ![]() |
![]() |
|
S&P500 | VIX | ![]() |
|||
S&P500 | VIX | VIXW | ![]() |
For more information about each underlying Index, see Supported Indices.
To add US Index Options data to your algorithm, call the AddIndexOptionadd_index_option method. Save a reference to the Index Option Symbol so you can access the data later in your algorithm.
class IndexOptionsDataAlgorithm(QCAlgorithm):
def initialize(self) -> None:
self.set_start_date(2021, 1, 1);
self.set_end_date(2021, 6, 1);
self.set_cash(1000000);
self.universe_settings.asynchronous = True
self.index_symbol = self.add_index('VIX').symbol
standard_option = self.add_index_option(self.index_symbol)
standard_option.set_filter(-2, 2, 0, 90)
self.standard_option_symbol = standard_option.symbol
weekly_option = self.add_index_option(self.index_symbol, "VIXW")
weekly_option.set_filter(-2, 2, 0, 90)
self.weekly_option_symbol = weekly_option.symbol
namespace QuantConnect
{
public class IndexOptionsDataAlgorithm : QCAlgorithm
{
private Symbol _indexSymbol, _standardOptionSymbol, _weeklyOptionSymbol;
public override void Initialize()
{
SetStartDate(2021, 1, 1);
SetEndDate(2021, 6, 1);
SetCash(100000);
UniverseSettings.Asynchronous = true;
_indexSymbol = AddIndex("VIX").Symbol;
var standardOption = AddIndexOption(_indexSymbol);
standardOption.SetFilter(-2, 2, 0, 90);
_standardOptionSymbol = standardOption.Symbol;
var weeklyOption = AddIndexOption(_indexSymbol, "VIXW");
weeklyOption.SetFilter(-2, 2, 0, 90);
_weeklyOptionSymbol = weeklyOption.Symbol;
}
}
}
The Index resolution must be less than or equal to the Index Option resolution. For example, if you set the Index resolution to minute, then you must set the Index Option resolution to minute, hour, or daily.
For more information about creating US Index Option subscriptions, see Requesting Data or Index Options Universes.
To get the current US Index Options data, index the OptionChainsoption_chains property of the current Slice with the canonical Index Option Symbol. Slice objects deliver unique events to your algorithm as they happen, but the Slice may not contain data for your Index Option at every time step.
def on_data(self, slice: Slice) -> None:
standard_chain = slice.option_chains.get(self.standard_option_symbol)
if standard_chain:
for contract in standard_chain:
self.log(f"{contract.symbol} price at {slice.time}: {contract.last_price}")
weekly_chain = slice.option_chains.get(self.weekly_option_symbol)
if weekly_chain:
for contract in weekly_chain:
self.log(f"{contract.symbol} price at {slice.time}: {contract.last_price}")
public override void OnData(Slice slice)
{
if (slice.OptionChains.ContainsKey(_standardOptionSymbol))
{
var standardChain = slice.OptionChains[_standardOptionSymbol];
foreach (var contract in standardChain)
{
Log($"{contract.Symbol} price at {slice.Time}: {contract.LastPrice}");
}
}
if (slice.OptionChains.ContainsKey(_weeklyOptionSymbol))
{
var weeklyChain = slice.OptionChains[_weeklyOptionSymbol];
foreach (var contract in weeklyChain)
{
Log($"{contract.Symbol} price at {slice.Time}: {contract.LastPrice}");
}
}
}
You can also iterate through all of the OptionChain objects in the current Slice.
def on_data(self, slice: Slice) -> None:
for canonical_symbol, chain in slice.option_chains.items():
for contract in chain:
self.log(f"{contract.symbol} price at {slice.time}: {contract.last_price}")
public override void OnData(Slice slice)
{
foreach (var kvp in slice.OptionChains)
{
var canonicalSymbol = kvp.Key;
var chain = kvp.Value;
foreach (var contract in chain)
{
Log($"{contract.Symbol} price at {slice.Time}: {contract.LastPrice}");
}
}
}
For more information about accessing US Index Options data, see Handling Data.
You can get historical US Index Options data in an algorithm and the Research Environment.
To get historical US Index Options data in an algorithm, call the Historyhistory method with the Index Option contract Symbol. If there is no data in the period you request, the history result is empty.
# DataFrame of trade and quote data
history_df = self.history(contract.symbol, 100, Resolution.MINUTE)
# DataFrame of open interest data
history_oi_df = self.history(OpenInterest, contract.symbol, 100, Resolution.MINUTE)
# TradeBar objects
history_trade_bars = self.history[TradeBar](contract.symbol, 100, Resolution.MINUTE)
# QuoteBar objects
history_quote_bars = self.history[QuoteBar](contract.symbol, 100, Resolution.MINUTE)
# OpenInterest objects
history_oi = self.history[OpenInterest](contract.symbol, 100, Resolution.MINUTE)
// TradeBar objects
var historyTradeBars = History(contract.Symbol, 100, Resolution.Minute);
// QuoteBar objects
var historyQuoteBars = History<QuoteBar>(contract.Symbol, 100, Resolution.Minute);
// OpenInterest objects
var historyOpenInterest = History<OpenInterest>(contract.Symbol, 100, Resolution.Minute);
For more information about historical data in algorithms, see History Requests.
To get historical US Index Options data in the Research Environment, call the Historyhistory or OptionHistoryoption_history method. The Historyhistory method returns the price, volume, and open interest history for some given Option contract(s). The OptionHistoryoption_history method returns the price and volume history for the contracts that pass your daily universe filter.
qb = QuantBook()
index_symbol = qb.add_index('VIX').symbol
option = qb.add_index_option(index_symbol) # or qb.add_index_option(index_symbol, "VIXW")
option.set_filter(-2, 2, 0, 90)
history = qb.option_history(option.symbol, datetime(2020, 6, 1), datetime(2020, 6, 5))
history_df = history.data_frame
expiries = history.get_expiry_dates()
strikes = history.get_strikes()
var qb = new QuantBook();
var indexSymbol = qb.AddIndex("VIX").Symbol;
var option = qb.AddIndexOption(indexSymbol); // or qb.AddIndexOption(indexSymbol, "VIXW");
option.SetFilter(-2, 2, 0, 90);
var history = qb.OptionHistory(option.Symbol, new DateTime(2020, 6, 1), new DateTime(2020, 6, 5));
var contracts = history
.SelectMany(x => x.OptionChains.SelectMany(y => y.Value.Contracts.Keys))
.Distinct().ToList();
var expiries = contracts.Select(x => x.ID.Date).Distinct().ToList();
var strikes = contracts.Select(x => x.ID.StrikePrice).Distinct().ToList();
To get historical data for arbitrary US Index Option contracts instead of just the that pass your universe filter, call the Historyhistory method like you would in an algorithm, but on the QuantBook object. For more information about historical data in the Research Environment, see Key Concepts.
To get historical data for the Greeks and implied volatility of Index Options, see the US Index Option Universe dataset.
The US Index Options dataset provides TradeBar, QuoteBar, and OpenInterest objects.
TradeBar objects have the following attributes:
QuoteBar objects have the following attributes:
OpenInterest objects have the following attributes:
The following example algorithm buys the VIX Index Option Bull Call Spread with the furthest expiration:
from AlgorithmImports import *
class IndexOptionsDataAlgorithm(QCAlgorithm):
def initialize(self) -> None:
self.set_start_date(2020, 1, 1)
self.set_end_date(2021, 1, 1)
self.set_cash(200000)
# Asynchronous can use computational resources efficiently
self.universe_settings.asynchronous = True
# Filter to get ATM calls expiring in 180 days to form the Bull Call Spread
option = self.add_index_option("SPX")
option.set_filter(lambda u: u.calls_only().strikes(-2, +2).expiration(0, 180))
self.option_symbol = option.symbol
def on_data(self, slice: Slice) -> None:
if not self.portfolio.invested and self.is_market_open(self.option_symbol):
# Make sure getting the updated VIX option chain
chain = slice.option_chains.get(self.option_symbol)
if chain:
expiry = max([c.expiry for c in chain])
call_contracts = sorted([c for c in chainif c.expiry == expiry],
key=lambda c: c.strike)
# Need 2 contracts to form a call spread
if len(call_contracts) < 2:
return
# Obtain 2 call contracts with different strike price to form the call spread
longCall, shortCall = call_contracts[0:2]
# Use all the buying power, but need to ensure the order size of the long and short call are the same
quantity = min([
abs(self.calculate_order_quantity(shortCall.symbol, -0.5)),
abs(self.calculate_order_quantity(longCall.symbol, 0.5))])
# Bull call spread consists of long a lower-strike call and short a higher-strike call
self.market_order(shortCall.symbol, -quantity)
self.market_order(longCall.symbol, quantity)
expected_margin_usage = max((longCall.strike - shortCall.strike) * self.securities[longCall.symbol].symbol_properties.contract_multiplier * quantity, 0)
if expected_margin_usage != self.portfolio.total_margin_used:
raise Exception("Unexpect margin used!")
def on_securities_changed(self, changes: SecurityChanges) -> None:
for security in changes.added_securities:
if security.type == SecurityType.INDEX_OPTION:
# Historical data
history = self.history(security.symbol, 10, Resolution.MINUTE)
self.debug(f"We got {len(history)} from our history request for {security.symbol}")
namespace QuantConnect
{
public class VixBullSpreadAlgorithm : QCAlgorithm
{
private Symbol _optionSymbol;
public override void Initialize()
{
SetStartDate(2020, 1, 1);
SetEndDate(2021, 1, 1);
SetCash(200000);
// Asynchronous can use computational resources efficiently
UniverseSettings.Asynchronous = true;
// Filter to get ATM calls expiring in 180 days to form the Bull Call Spread
var option = AddIndexOption("SPX");
option.SetFilter((u) => u.CallsOnly().Strikes(-2, +2).Expiration(0, 180));
_optionSymbol = option.Symbol;
}
public override void OnData(Slice slice)
{
if (!Portfolio.Invested && IsMarketOpen(_optionSymbol))
{
// Make sure getting the updated VIX option chain
if (slice.OptionChains.TryGetValue(_optionSymbol, out var chain))
{
var expiry = chain.Max(x => x.Expiry);
var callContracts = chain
.Where(x => x.Expiry == expiry)
.OrderBy(x => x.Strike)
.ToList();
// Need 2 contracts to form a call spread
if (callContracts.Count < 2)
{
return;
}
// Obtain 2 call contracts with different strike price to form the call spread
var longCall = callContracts.First();
var shortCall = callContracts.First(contract => contract.Strike > longCall.Strike);
// Use all the buying power, but need to ensure the order size of the long and short call are the same
var quantity = new[] {
CalculateOrderQuantity(shortCall.Symbol, -1m),
CalculateOrderQuantity(longCall.Symbol, 1m) }
.Min(x=> Math.Abs(x));
// Bull call spread consists of long a lower-strike call and short a higher-strike call
MarketOrder(shortCall.Symbol, -quantity);
MarketOrder(longCall.Symbol, quantity);
var expectedMarginUsage = Math.Max((longCall.Strike - shortCall.Strike) * Securities[longCall.Symbol].SymbolProperties.ContractMultiplier * quantity, 0);
if (expectedMarginUsage != Portfolio.TotalMarginUsed)
{
throw new Exception("Unexpect margin used!");
}
}
}
}
public override void OnSecuritiesChanged(SecurityChanges changes)
{
foreach (var security in changes.AddedSecurities)
{
if (security.Type == SecurityType.IndexOption)
{
// Historical data
var history = History(security.Symbol, 10, Resolution.Minute);
Debug($"We got {history.Count()} from our history request for {security.Symbol}");
}
}
}
}
}
The following example algorithm buys the VIX Index Option Bull Call Spread with the furthest expiration:
from AlgorithmImports import *
from Selection.OptionUniverseSelectionModel import OptionUniverseSelectionModel
class IndexOptionsDataAlgorithm(QCAlgorithm):
def initialize(self) -> None:
self.set_start_date(2020, 1, 1)
self.set_end_date(2021, 1, 1)
self.set_cash(200000)
self.universe_settings.asynchronous = True
self.set_universe_selection(VIXIndexOptionUniverseSelectionModel())
self.set_alpha(BullCallSpreadAlphaModel())
self.set_portfolio_construction(SingleSharePortfolioConstructionModel())
class VIXIndexOptionUniverseSelectionModel(OptionUniverseSelectionModel):
def __init__(self):
super().__init__(timedelta(1), self.option_chain_symbol_selector)
def option_chain_symbol_selector(self, utc_time: datetime) -> List[Symbol]:
# Only interest in VIX options
return [Symbol.create("VIX", SecurityType.INDEX_OPTION, Market.USA)]
def filter(self, option_filter_universe: OptionFilterUniverse) -> OptionFilterUniverse:
# Filter to get ATM calls expiring in 180 days to form the Bull Call Spread
return option_filter_universe.calls_only().strikes(-2, +2).expiration(0, 180)
class BullCallSpreadAlphaModel(AlphaModel):
def update(self, algorithm: QCAlgorithm, slice: Slice) -> List[Insight]:
if algorithm.portfolio.invested:
return []
for canonical_symbol, chain in slice.option_chains.items():
if not chain:
return []
# Bull call spread legs are having the same expiry
expiry = max([c.expiry for c in chain])
call_contracts = sorted([c for c in chain if c.expiry == expiry],
key=lambda c: c.strike)
# Need 2 contracts to form a call spread
if len(call_contracts) < 2:
return []
# Obtain 2 call contracts with different strike price to form the call spread
long_call, short_call = call_contracts[0:2]
# Bull call spread consists of long a lower-strike call and short a higher-strike call
return Insight.group(
[
Insight.price(long_call.symbol, expiry + timedelta(1), InsightDirection.UP),
Insight.price(short_call.symbol, expiry + timedelta(1), InsightDirection.DOWN)
])
return []
def on_securities_changed(self, algorithm: QCAlgorithm, changes: SecurityChanges) -> None:
for security in changes.added_securities:
if security.type == SecurityType.INDEX_OPTION:
# Historical data
history = algorithm.history(security.symbol, 10, Resolution.MINUTE)
algorithm.debug(f"We got {len(history)} from our history request for {security.symbol}")
class SingleSharePortfolioConstructionModel(PortfolioConstructionModel):
def create_targets(self, algorithm: QCAlgorithm, insights: List[Insight]) -> List[PortfolioTarget]:
if not insights:
return []
# Only a single contract toi ensure both legs size is equal
quantity = min([abs(algorithm.calculate_order_quantity(i.symbol, i.direction))
for i in insights])
return [PortfolioTarget(i.symbol, quantity * i.direction)
for i in insights]
using QuantConnect.DataSource;
namespace QuantConnect
{
public class IndexOptionsDataAlgorithm : QCAlgorithm
{
public override void Initialize()
{
SetStartDate(2020, 1, 1);
SetEndDate(2021, 1, 1);
SetCash(200000);
UniverseSettings.Asynchronous = true;
SetUniverseSelection(new VIXIndexOptionUniverseSelectionModel());
SetAlpha(new BullCallSpreadAlphaModel());
SetPortfolioConstruction(new SingleSharePortfolioConstructionModel());
}
}
public class VIXIndexOptionUniverseSelectionModel : OptionUniverseSelectionModel
{
// Only interest in VIX options
public VIXIndexOptionUniverseSelectionModel()
: base(TimeSpan.FromDays(1),
_ => new[] {QuantConnect.Symbol.Create("VIX", SecurityType.IndexOption, Market.USA)})
{
}
protected override OptionFilterUniverse Filter(OptionFilterUniverse optionFilterUniverse)
{
// Filter to get ATM calls expiring in 180 days to form the Bull Call Spread
return optionFilterUniverse.CallsOnly().Strikes(-2, +2).Expiration(0, 180);
}
}
public class BullCallSpreadAlphaModel : AlphaModel
{
public BullCallSpreadAlphaModel()
{
}
public override IEnumerable<Insight> Update(QCAlgorithm algorithm, Slice slice)
{
var insights = Enumerable.Empty<Insight>();
if (algorithm.Portfolio.Invested)
{
return insights;
}
foreach (var kvp in slice.OptionChains)
{
var canoncialSymbol = kvp.Key;
var chain = kvp.Value;
if (chain.IsNullOrEmpty())
{
return insights;
}
// Bull call spread legs are having the same expiry
var callContracts = chain
.Where(contract => contract.Expiry == expiry)
.OrderBy(x => x.Strike)
.ToList();
// Need 2 contracts to form a call spread
if (callContracts.Count < 2)
{
return insights;
}
// Obtain 2 call contracts with different strike price to form the call spread
var longCall = callContracts.First();
var shortCall = callContracts.First(contract => contract.Strike > longCall.Strike);
// Bull call spread consists of long a lower-strike call and short a higher-strike call
var expiry = longCall.Expiry.AddDays(1);
return Insight.Group(
Insight.Price(longCall.Symbol, expiry, InsightDirection.Up),
Insight.Price(shortCall.Symbol, expiry, InsightDirection.Down));
}
return insights;
}
}
public class SingleSharePortfolioConstructionModel : PortfolioConstructionModel
{
public override IEnumerable<PortfolioTarget> CreateTargets(QCAlgorithm algorithm, Insight[] insights)
{
if (insights.Count() == 0)
{
return Enumerable.Empty<PortfolioTarget>();
}
// Only a single contract toi ensure both legs size is equal
var quantity = insights
.Select(i => Math.Abs(algorithm.CalculateOrderQuantity(i.Symbol, (decimal)i.Direction)))
.Min();
return insights.Select(i => new PortfolioTarget(i.Symbol, quantity * (decimal)i.Direction));
}
}
}
US Index Options 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
US Index Options 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 15 QCC/file | Learn More
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.
The CLI command generator is a helpful tool to generate a copy-paste command to download this dataset from the form below.
lean data download \
--dataset "US Index Options" \
--data-type "trade" \
--ticker "NDX, SPX" \
--resolution "minute" \
--start "20240402" \
--end "20250402"
lean data download `
--dataset "US Index Options" `
--data-type "trade" `
--ticker "NDX, SPX" `
--resolution "minute" `
--start "20240402" `
--end "20250402"
The QuantConnect-AlgoSeek partnership provides free access to US Index Options market data in QuantConnect Cloud.
Free access to US Index Options on the QuantConnect Cloud platform for research, backtest, and live trading. Live trading via Interactive Brokers only.
US Index Options Minute resolution archives in LEAN format for on premise research. One file per ticker/day.
US Index Options Hour resolution archives in LEAN format for on premise research. One file per ticker.
US Index Options Daily resolution archives in LEAN format for on premise research. One file per ticker.
Bulk download daily data
Bulk download minute data
Bulk download hour data
Bulk download daily data
Bulk download hour data
Bulk download minute data
What people are saying about this
This product has not received any reviews yet, be the first to post one!
Rate the Module:
Provider offers 10 licensing options
Explore free and paid datasets available on QuantConnect covering fundamentals, pricing, and alternative options.
Dataset Status from to
No Runs
OK
Degraded
Failure
Explore free and paid datasets available on QuantConnect covering fundamentals, pricing, and alternative options.
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 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
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
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 FreeAlready have an account Log In.
â‘
â‘
â‘
â‘
â‘
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:
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.
Organization Name |
---|
Upgrade to Team plan or higher to enable custom invoicing
Changes will be applied to future invoices.
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?
Are you sure you want to delete the encryption key "undefined"?
Caution: We will not be able to decrypt encrypted projects without the original key.
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.
This project is encrypted using the key .
This project will be encrypted using the key .