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,401 People Enrolled
Learn algorithmic trading with python for FX. Guided strategy development in easily digestible portions.
Author: QuantConnect
Free | 20,652 People Enrolled
Learn algorithmic trading with python for Futures. Guided strategy development in easily digestible portions.
Author: QuantConnect
Free | 7,486 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 | 29,072 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....
ReadNew Announcement
Quant League Q1 2025 Results: Triton Quantitative Trading Takes the 1st Place!
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 >
Upcoming IPOs
Dataset by EOD Historical Data
The Upcoming IPOs dataset, provided by EODHD, offers daily alerts for US Equities that will start their IPOs or have any updates on their IPO registrations within the upcoming 7 days. The data started in February 2013 and is delivered on a daily basis.
Notice that this dataset might have a +/-2 days accuracy due to the data provider.
EODHD was a France financial data provider founded in April 2015. They focus on providing clean financial data, including stock prices, splits, dividends, fundamentals, macroeconomy indicators, technical indicators, and alternative data sources, through 24/7 API seamlessly.
The following snippet demonstrates how to request data from the Upcoming IPOs dataset:
self.add_data(EODHDUpcomingIPOs, "ipos")
self.add_universe(EODHDUpcomingIPOs, self.selection_function)
AddData<EODHDUpcomingIPOs>("ipos");
AddUniverse<EODHDUpcomingIPOs>(SelectionFunction);
The following table describes the dataset properties:
Property | Value |
---|---|
Start Date | February 2013 |
Data Density | Sparse |
Resolution | Daily |
Timezone | New York |
The Upcoming IPOs dataset provides timely notifications about upcoming IPOs start, allowing traders to capitalize on the high volatility of new stocks. Examples include the following strategies:
The EODHD Upcoming IPOs dataset provides EODHDUpcomingIPOs objects, which have the following attributes:
To select a dynamic universe of US Equities based on the Upcoming IPOs dataset, call the AddUniverseadd_universe method with a EODHDUpcomingIPOs cast.
def initialize(self) -> None:
self.universe_settings.asynchronous = True
self._universe = self.add_universe(EODHDUpcomingIPOs, self.universe_selection_filter)
def universe_selection_filter(self, ipos: List[EODHDUpcomingIPOs]) -> List[Symbol]:
# confirmed non-penny stock IPO that launches within 7 days.
return [d.symbol for d in ipos if d.deal_type in [DealType.EXPECTED, DealType.PRICED] and d.ipo_date and min(x for x in [d.lowest_price, d.highest_price, d.offer_price] if x) > 1]
private static readonly List<DealType> _dealTypesWanted = new { DealType.Expected, DealType.Priced };
public override void Initialize()
{
UniverseSettings.Asynchronous = true;
_universe = AddUniverse<EODHDUpcomingIPOs>(UniverseSelectionFilter);
}
private IEnumerable<Symol> UniverseSelectionFilter(IEnumerable<EODHDUpcomingIPOs> ipos)
{
// confirmed non-penny stock IPO that launches within 7 days.
return from d in ipos
where _dealTypesWanted.Contains(d.DealType) &&
d.IpoDate.HasValue &&
new[] { d.LowestPrice, d.HighestPrice, d.OfferPrice }.Where(x => x.HasValue).Min().Value > 1
select d.Symbol;
}
For more information about universe settings, see Settings.
To add Upcoming IPOs data to your algorithm, call the AddData<EODHDUpcomingIPOs>add_data method.
class UpcomingIPOsDataAlgorithm(QCAlgorithm):
def initialize(self) -> None:
self.set_start_date(2019, 1, 1)
self.set_end_date(2020, 6, 1)
self.set_cash(100000)
self.dataset_symbol = self.add_data(EODHDUpcomingIPOs, "ipos").symbol
namespace QuantConnect.Algorithm.CSharp.AltData
{
public class UpcomingIPOsDataAlgorithm : QCAlgorithm
{
private Symbol _datasetSymbol;
public override void Initialize()
{
SetStartDate(2019, 1, 1);
SetEndDate(2020, 6, 1);
SetCash(100000);
_datasetSymbol = AddData<EODHDUpcomingIPOs>("ipos").Symbol;
}
}
}
To get the current Upcoming IPOs data, call the Get<EODHDUpcomingIPOs>get(EODHDUpcomingIPOs) method from the current Slice. Then, iterate through all of the dataset objects in the current Slice
def on_data(self, slice: Slice) -> None:
for equity_symbol, upcomings_ipos_data_point in slice.get(EODHDUpcomingIPOs).items():
self.log(f"{equity_symbol} will start IPO at {upcomings_ipos_data_point.ipo_date} with price {upcomings_ipos_data_point.offer_price} and {upcomings_ipos_data_point.shares} shares")
public override void OnData(Slice slice)
{
foreach (var kvp in slice.Get<EODHDUpcomingIPOs>())
{
var equitySymbol = kvp.Key;
var upcomingIPOsDataPoint = kvp.Value;
Log($"{equitySymbol} will start IPO at {upcomingIPOsDataPoint.IPODate} with price {upcomingIPOsDataPoint.OfferPrice} and {upcomingIPOsDataPoint.Shares} shares");
}
}
To get historical Upcoming IPOs data, call the Historyhistory method with the type EODHDUpcomingIPOs cast and the period of request. If there is no data in the period you request, the history result is empty.
history_bars = self.history[EODHDUpcomingIPOs](timedelta(100), Resolution.DAILY)
var history = History<EODHDUpcomingSplits>(TimeSpan.FromDays(100), Resolution.Daily);
For more information about historical data, see History Requests.
To remove a subscription, call the RemoveSecurityremove_security method.
self.remove_security(self.dataset_symbol)
RemoveSecurity(_datasetSymbol);
The EODHD Upcoming IPOs dataset provides EODHDUpcomingIPOs objects, which have the following attributes:
The following example algorithm holds new stocks for its IPO day to capitalize its hype.
class UpcomingIPOsExampleAlgorithm(QCAlgorithm):
_universe = []
def initialize(self) -> None:
self.set_start_date(2020, 1, 1)
self.set_end_date(2021, 1, 1)
self.set_cash(100000)
# Filter for new stocks to trade their hype using EODHDUpcomingIPOs.
self.add_universe(EODHDUpcomingIPOs, self.selection)
def selection(self, ipos: List[EODHDUpcomingIPOs]) -> List[Symbol]:
# Select the stocks that IPO starts today and traded in Nasdaq
self._universe = [x.symbol for x in ipos if x.ipo_date and x.ipo_date <= self.time + timedelta(1) and x.exchange == Exchange.NASDAQ]
return self._universe
def on_data(self, slice: Slice) -> None:
# Invest in new stocks and trade on their first day for their hype.
# Equally invest in each new stocks to evenly dissipate the capital risk.
self.set_holdings([PortfolioTarget(x, 0.5 / len(self._universe)) for x in self._universe])
def on_securities_changed(self, changes: SecurityChanges) -> None:
# Liquidate the new stocks traded today/yesterday to capitalize the first-day hype.
for removed in changes.removed_securities:
self.liquidate(removed.symbol)
public class UpcomingIPOsExampleAlgorithm : QCAlgorithm
{
private List<Symbol> _universe = new();
public override void Initialize()
{
SetStartDate(2020, 1, 1);
SetEndDate(2021, 1, 1);
SetCash(100000);
// Filter for new stocks to trade their hype using EODHDUpcomingIPOs.
AddUniverse<EODHDUpcomingIPOs>((ipos) => {
// Select the stocks that IPO starts today and traded in Nasdaq
_universe = (from EODHDUpcomingIPOs x in ipos
where x.IpoDate <= Time.AddDays(1) && x.Exchange == Exchange.NASDAQ
select x.Symbol).ToList();
return _universe;
});
}
public override void OnData(Slice slice)
{
// Invest in new stocks and trade on their first day for their hype.
// Equally invest in each new stocks to evenly dissipate the capital risk.
var count = _universe.Count;
SetHoldings(_universe.Select(x => new PortfolioTarget(x, 0.5m / count)).ToList());
}
public override void OnSecuritiesChanged(SecurityChanges changes)
{
// Liquidate the new stocks traded today/yesterday to capitalize the first-day hype.
foreach (var removed in changes.RemovedSecurities)
{
Liquidate(removed.Symbol);
}
}
}
The following example algorithm buy QQQ if the number of IPO in Nasdaq is in increasing trend, sell otherwise.
class UpcomingIPOsExampleAlgorithm(QCAlgorithm):
def initialize(self) -> None:
self.set_start_date(2021, 7, 1)
self.set_end_date(2022, 1, 1)
self.set_cash(100000)
# Create a EMA indicator to estimate the trend of IPO number to reflect the market popularity.
self._ema = ExponentialMovingAverage(50)
self.universe_settings.resolution = Resolution.DAILY
# Filter for new stocks to trade their hype using EODHDUpcomingIPOs.
self.add_universe(EODHDUpcomingIPOs, self.selection)
# Request QQQ data to trade.
self.qqq = self.add_equity("QQQ", Resolution.DAILY).symbol
self.set_warm_up(50, Resolution.DAILY)
def selection(self, ipos: List[EODHDUpcomingIPOs]) -> List[Symbol]:
# Filter for the stocks that IPO starts today and traded in Nasdaq.
universe = [x.symbol for x in ipos if x.ipo_date and x.ipo_date <= self.time + timedelta(1) and x.exchange == Exchange.NASDAQ]
# Feed to the EMA indicator.
self._ema.update(self.time, len(universe))
return Universe.UNCHANGED
def on_data(self, slice: Slice) -> None:
if self._ema.is_ready:
# If the EMA is decreasing, we estimate the market popularity is decreasing, so we sell QQQ.
if self._ema.previous.value > self._ema.current.value:
self.set_holdings(self.qqq, -1)
# Otherwise, we estimate the market popularity is increasing, so we buy QQQ.
else:
self.set_holdings(self.qqq, 1)
public class IndexOptionHandlingDataAlgorithm : QCAlgorithm
{
// Create a EMA indicator to estimate the trend of IPO number to reflect the market popularity.
private ExponentialMovingAverage _ema = new(50);
private Symbol _qqq;
public override void Initialize()
{
SetStartDate(2021, 7, 1);
SetEndDate(2022, 1, 1);
SetCash(100000);
UniverseSettings.Resolution = Resolution.Daily;
// Filter for new stocks to trade their hype using EODHDUpcomingIPOs.
AddUniverse<EODHDUpcomingIPOs>(Selection);
// Request QQQ data to trade.
_qqq = AddEquity("QQQ", Resolution.Daily).Symbol;
SetWarmUp(50, Resolution.Daily);
}
private IEnumerable<Symbol> Selection(IEnumerable<BaseData> ipos)
{
// Filter for the stocks that IPO starts today and traded in Nasdaq.
var universeCount = ipos.Select(x => x as EODHDUpcomingIPOs)
.Where(x => x.IpoDate.HasValue && x.IpoDate.Value <= Time.AddDays(1) && x.Exchange == Exchange.NASDAQ)
.Count();
_ema.Update(Time, Convert.ToDecimal(universeCount));
return Universe.Unchanged;
}
public override void OnData(Slice slice)
{
if (_ema.IsReady)
{
// If the EMA is decreasing, we estimate the market popularity is decreasing, so we sell QQQ.
if (_ema.Previous > _ema)
{
SetHoldings(_qqq, -1m);
}
// Otherwise, we estimate the market popularity is increasing, so we buy QQQ.
else
{
SetHoldings(_qqq, 1m);
}
}
}
}
The following example algorithm holds new stocks for its IPO day to capitalize its hype using framework algorithm.
class UpcomingIPOsExampleAlgorithm(QCAlgorithm):
def initialize(self) -> None:
self.set_start_date(2020, 1, 1)
self.set_end_date(2021, 1, 1)
self.set_cash(100000)
# Filter for new stocks to trade their hype using EODHDUpcomingIPOs.
self.add_universe(EODHDUpcomingIPOs, self.selection)
# Invest in new stocks and trade on their first day for their hype.
self.add_alpha(ConstantAlphaModel(InsightType.PRICE, InsightDirection.UP, timedelta(1)))
# Equally invest in each new stocks to evenly dissipate the capital risk.
self.set_portfolio_construction(EqualWeightingPortfolioConstructionModel(Expiry.END_OF_DAY))
def selection(self, ipos: List[EODHDUpcomingIPOs]) -> List[Symbol]:
# Select the stocks that IPO starts today and traded in Nasdaq
return [x.symbol for x in ipos if x.ipo_date and x.ipo_date <= self.time + timedelta(1) and x.exchange == Exchange.NASDAQ]
public class UpcomingIPOsExampleAlgorithm : QCAlgorithm
{
public override void Initialize()
{
SetStartDate(2020, 1, 1);
SetEndDate(2021, 1, 1);
SetCash(100000);
// Filter for new stocks to trade their hype using EODHDUpcomingIPOs.
AddUniverse<EODHDUpcomingIPOs>((ipos) => {
// Select the stocks that IPO starts today and traded in Nasdaq
return (from EODHDUpcomingIPOs x in ipos
where x.IpoDate <= Time.AddDays(1) && x.Exchange == Exchange.NASDAQ
select x.Symbol).ToList();
});
// Invest in new stocks and trade on their first day for their hype.
AddAlpha(new ConstantAlphaModel(InsightType.Price, InsightDirection.Up, TimeSpan.FromDays(1)));
// Equally invest in each new stocks to evenly dissipate the capital risk.
SetPortfolioConstruction(new EqualWeightingPortfolioConstructionModel(Expiry.EndOfDay));
}
}
Upcoming IPOs is allowed to be used in the cloud for personal and commercial projects with a subscription. The data is permissioned for use within the licensed organization only
Subscription Required | License Now
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.
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 0 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 .