About US Futures

The US Futures dataset by AlgoSeek provides Futures data, including price, volume, open interest, and expiry. The data covers the 75 most liquid contracts, starts in May 2009, and is delivered on any frequency from tick to daily. This dataset is created by monitoring the trading activity on the CFE, CBOT, NYMEX, ICE, SGX, HKFE, India, and COMEX markets.

About AlgoSeek

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.

About QuantConnect

QuantConnect was founded in 2012 to serve quants everywhere with the best possible algorithmic trading technology. Seeking to disrupt a notoriously closed-source industry, QuantConnect takes a radically open-source approach to algorithmic trading. Through the QuantConnect web platform, more than 50,000 quants are served every month.

Algorithm Example

class USFuturesDataAlgorithm(QCAlgorithm):

    def Initialize(self) -> None:
        self.SetStartDate(2013, 12, 20) 
        self.SetEndDate(2014, 2, 20)
        # Requesting data
        self.mini_gold = self.AddFuture(Futures.Metals.Gold) 
        self.mini_gold.SetFilter(0, 90)
        self.micro_gold = self.AddFuture(Futures.Metals.MicroGold) 
        self.micro_gold.SetFilter(0, 90)
        self.contract = {self.mini_gold.Symbol: None, self.micro_gold.Symbol: None}
    def OnData(self, slice: Slice) -> None:
        for kvp in slice.FutureChains:
            symbol = kvp.Key
            if symbol in self.contract:
                chain = kvp.Value
                # Select the contract with the greatest open interest
                most_liquid_contract = sorted(chain, key=lambda contract: contract.OpenInterest, reverse=True)[0]
                if self.contract[symbol] is None or most_liquid_contract.Symbol != self.contract[symbol].Symbol:
                    if self.contract[symbol] is not None:
                    self.contract[symbol] = most_liquid_contract
                    if symbol == self.mini_gold.Symbol:
                        self.MarketOrder(self.contract[symbol].Symbol, 1)
                    elif symbol == self.micro_gold.Symbol:
                        self.MarketOrder(self.contract[symbol].Symbol, -1)
    def OnSecuritiesChanged(self, changes: SecurityChanges) -> None:
        for security in changes.AddedSecurities:
            # Historical data
            history = self.History(security.Symbol, 10, Resolution.Minute)
            self.Debug(f"We got {len(history)} from our history request for {security.Symbol}")

Example Applications

The US Futures dataset enables you to accurately design Futures strategies. Examples include the following strategies: