Lean  $LEAN_TAG$
QuantConnect.Securities.Future.EmptyFutureChainProvider Class Reference

An implementation of IFutureChainProvider that always returns an empty list of contracts More...

Inheritance diagram for QuantConnect.Securities.Future.EmptyFutureChainProvider:
[legend]

Public Member Functions

IEnumerable< SymbolGetFutureContractList (Symbol symbol, DateTime date)
 Gets the list of future contracts for a given underlying symbol More...
 

Detailed Description

An implementation of IFutureChainProvider that always returns an empty list of contracts

Definition at line 26 of file EmptyFutureChainProvider.cs.

Member Function Documentation

◆ GetFutureContractList()

IEnumerable<Symbol> QuantConnect.Securities.Future.EmptyFutureChainProvider.GetFutureContractList ( Symbol  symbol,
DateTime  date 
)

Gets the list of future contracts for a given underlying symbol

Parameters
symbolThe underlying symbol
dateThe date for which to request the future chain (only used in backtesting)
Returns
The list of future contracts

Implements QuantConnect.Interfaces.IFutureChainProvider.

Definition at line 34 of file EmptyFutureChainProvider.cs.


The documentation for this class was generated from the following file: