|
Lean
$LEAN_TAG$
|
An implementation of IFutureChainProvider that reads the list of contracts from open interest zip data files More...
Public Member Functions | |
| virtual IEnumerable< Symbol > | GetFutureContractList (Symbol symbol, DateTime date) |
| Gets the list of future contracts for a given 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... | |
Static Protected Member Functions | |
| static Symbol | GetSymbol (Symbol symbol) |
| Helper method to get the symbol to use 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... | |
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... | |
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 IFutureChainProvider that reads the list of contracts from open interest zip data files
Definition at line 25 of file BacktestingFutureChainProvider.cs.
|
virtual |
Gets the list of future contracts for a given underlying symbol
| symbol | The underlying symbol |
| date | The date for which to request the future chain (only used in backtesting) |
Implements QuantConnect.Interfaces.IFutureChainProvider.
Reimplemented in QuantConnect.Lean.Engine.DataFeeds.LiveFutureChainProvider.
Definition at line 33 of file BacktestingFutureChainProvider.cs.
|
staticprotected |
Helper method to get the symbol to use
Definition at line 41 of file BacktestingFutureChainProvider.cs.