Lean  $LEAN_TAG$
QuantConnect.Securities.Option.EmptyOptionChainProvider Class Reference

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

Inheritance diagram for QuantConnect.Securities.Option.EmptyOptionChainProvider:
[legend]

Public Member Functions

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

Detailed Description

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

Definition at line 26 of file EmptyOptionChainProvider.cs.

Member Function Documentation

◆ GetOptionContractList()

IEnumerable<Symbol> QuantConnect.Securities.Option.EmptyOptionChainProvider.GetOptionContractList ( Symbol  symbol,
DateTime  date 
)

Gets the list of option contracts for a given underlying symbol

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

Implements QuantConnect.Interfaces.IOptionChainProvider.

Definition at line 34 of file EmptyOptionChainProvider.cs.


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