|
Lean
$LEAN_TAG$
|
An implementation of IOptionChainProvider that fetches the list of contracts from the Options Clearing Corporation (OCC) website More...
Public Member Functions | |
| override IEnumerable< Symbol > | GetOptionContractList (Symbol symbol, DateTime date) |
| Gets the option chain associated with the underlying Symbol More... | |
Public Member Functions inherited from QuantConnect.Lean.Engine.DataFeeds.BacktestingChainProvider | |
| void | Initialize (ChainProviderInitializeParameters parameters) |
| Initializes a new instance of the BacktestingChainProvider class More... | |
Additional Inherited Members | |
Protected Member Functions inherited from QuantConnect.Lean.Engine.DataFeeds.BacktestingChainProvider | |
| BacktestingChainProvider () | |
| Initializes a new instance of the BacktestingChainProvider class More... | |
| IEnumerable< Symbol > | GetSymbols (Symbol canonicalSymbol, DateTime date) |
| Get the contract symbols associated with the given canonical symbol and date More... | |
Static Protected Member Functions inherited from QuantConnect.Lean.Engine.DataFeeds.BacktestingChainProvider | |
| static bool | IsContractExpired (Symbol symbol, DateTime date) |
| Helper method to determine if a contract is expired for the requested date More... | |
Properties inherited from QuantConnect.Lean.Engine.DataFeeds.BacktestingChainProvider | |
| IMapFileProvider | MapFileProvider [get] |
| The map file provider instance to use More... | |
| IHistoryProvider | HistoryProvider [get] |
| The history provider instance to use More... | |
An implementation of IOptionChainProvider that fetches the list of contracts from the Options Clearing Corporation (OCC) website
Definition at line 38 of file LiveOptionChainProvider.cs.
|
virtual |
Gets the option chain associated with the 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 to ask for the option contract list for |
| ArgumentException | Option underlying Symbol is not Future or Equity |
Reimplemented from QuantConnect.Lean.Engine.DataFeeds.BacktestingOptionChainProvider.
Definition at line 79 of file LiveOptionChainProvider.cs.