Lean
$LEAN_TAG$
|
Provides an implementation of ISubscriptionEnumeratorFactory that used the SubscriptionDataReader More...
Public Member Functions | |
SubscriptionDataReaderSubscriptionEnumeratorFactory (IResultHandler resultHandler, IMapFileProvider mapFileProvider, IFactorFileProvider factorFileProvider, IDataCacheProvider cacheProvider, IObjectStore objectStore, bool enablePriceScaling=true) | |
Initializes a new instance of the SubscriptionDataReaderSubscriptionEnumeratorFactory class More... | |
IEnumerator< BaseData > | CreateEnumerator (SubscriptionRequest request, IDataProvider dataProvider) |
Creates a SubscriptionDataReader to read the specified request More... | |
void | Dispose () |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. More... | |
Provides an implementation of ISubscriptionEnumeratorFactory that used the SubscriptionDataReader
Only used on backtesting by the FileSystemDataFeed
Definition at line 33 of file SubscriptionDataReaderSubscriptionEnumeratorFactory.cs.
QuantConnect.Lean.Engine.DataFeeds.Enumerators.Factories.SubscriptionDataReaderSubscriptionEnumeratorFactory.SubscriptionDataReaderSubscriptionEnumeratorFactory | ( | IResultHandler | resultHandler, |
IMapFileProvider | mapFileProvider, | ||
IFactorFileProvider | factorFileProvider, | ||
IDataCacheProvider | cacheProvider, | ||
IObjectStore | objectStore, | ||
bool | enablePriceScaling = true |
||
) |
Initializes a new instance of the SubscriptionDataReaderSubscriptionEnumeratorFactory class
resultHandler | The result handler for the algorithm |
mapFileProvider | The map file provider |
factorFileProvider | The factor file provider |
cacheProvider | Provider used to get data when it is not present on disk |
objectStore | The object store to use |
enablePriceScaling | Applies price factor |
Definition at line 55 of file SubscriptionDataReaderSubscriptionEnumeratorFactory.cs.
IEnumerator<BaseData> QuantConnect.Lean.Engine.DataFeeds.Enumerators.Factories.SubscriptionDataReaderSubscriptionEnumeratorFactory.CreateEnumerator | ( | SubscriptionRequest | request, |
IDataProvider | dataProvider | ||
) |
Creates a SubscriptionDataReader to read the specified request
request | The subscription request to be read |
dataProvider | Provider used to get data when it is not present on disk |
Implements QuantConnect.Data.ISubscriptionEnumeratorFactory.
Definition at line 79 of file SubscriptionDataReaderSubscriptionEnumeratorFactory.cs.
void QuantConnect.Lean.Engine.DataFeeds.Enumerators.Factories.SubscriptionDataReaderSubscriptionEnumeratorFactory.Dispose | ( | ) |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
<filterpriority>2</filterpriority>
Definition at line 126 of file SubscriptionDataReaderSubscriptionEnumeratorFactory.cs.