Lean
$LEAN_TAG$
|
Provides the full option chain for a given underlying. More...
Public Member Functions | |
IEnumerable< Symbol > | GetOptionContractList (Symbol symbol, DateTime date) |
Gets the list of option contracts for a given underlying symbol More... | |
Provides the full option chain for a given underlying.
Definition at line 24 of file IOptionChainProvider.cs.
IEnumerable<Symbol> QuantConnect.Interfaces.IOptionChainProvider.GetOptionContractList | ( | Symbol | symbol, |
DateTime | date | ||
) |
Gets the list of option contracts for a given underlying symbol
symbol | The option or the underlying symbol to get the option chain for. Providing the option allows targetting an option ticker different than the default e.g. SPXW |
date | The date for which to request the option chain (only used in backtesting) |
Implemented in QuantConnect.Lean.Engine.DataFeeds.LiveOptionChainProvider, QuantConnect.Lean.Engine.DataFeeds.BacktestingOptionChainProvider, QuantConnect.Lean.Engine.DataFeeds.CachingOptionChainProvider, and QuantConnect.Securities.Option.EmptyOptionChainProvider.