|
Lean
$LEAN_TAG$
|
An implementation of IFutureChainProvider that will cache by date future contracts returned by another future chain provider. More...
Public Member Functions | |
| CachingFutureChainProvider (IFutureChainProvider futureChainProvider) | |
| Initializes a new instance of the CachingFutureChainProvider class More... | |
| IEnumerable< Symbol > | GetFutureContractList (Symbol symbol, DateTime date) |
| Gets the list of future contracts for a given underlying symbol More... | |
An implementation of IFutureChainProvider that will cache by date future contracts returned by another future chain provider.
Definition at line 27 of file CachingFutureChainProvider.cs.
| QuantConnect.Lean.Engine.DataFeeds.CachingFutureChainProvider.CachingFutureChainProvider | ( | IFutureChainProvider | futureChainProvider | ) |
Initializes a new instance of the CachingFutureChainProvider class
| futureChainProvider |
Definition at line 36 of file CachingFutureChainProvider.cs.
| IEnumerable<Symbol> QuantConnect.Lean.Engine.DataFeeds.CachingFutureChainProvider.GetFutureContractList | ( | Symbol | symbol, |
| DateTime | date | ||
| ) |
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.
Definition at line 47 of file CachingFutureChainProvider.cs.