Lean
$LEAN_TAG$
|
This ISubscriptionDataSourceReader implementation supports the FileFormat.Index and IndexedBaseData types. Handles the layer of indirection for the index data source and forwards the target source to the corresponding ISubscriptionDataSourceReader More...
Public Member Functions | |
IndexSubscriptionDataSourceReader (IDataCacheProvider dataCacheProvider, SubscriptionDataConfig config, DateTime date, bool isLiveMode, IDataProvider dataProvider, IObjectStore objectStore) | |
Creates a new instance of this ISubscriptionDataSourceReader More... | |
override IEnumerable< BaseData > | Read (SubscriptionDataSource source) |
Reads the specified source More... | |
Additional Inherited Members | |
Protected Member Functions inherited from QuantConnect.Lean.Engine.DataFeeds.BaseSubscriptionDataSourceReader | |
BaseSubscriptionDataSourceReader (IDataCacheProvider dataCacheProvider, bool isLiveMode, IObjectStore objectStore) | |
Creates a new instance More... | |
IStreamReader | CreateStreamReader (SubscriptionDataSource subscriptionDataSource) |
Creates a new IStreamReader for the specified subscriptionDataSource More... | |
void | OnInvalidSource (SubscriptionDataSource source, Exception exception) |
Event invocator for the InvalidSource event More... | |
Properties inherited from QuantConnect.Lean.Engine.DataFeeds.BaseSubscriptionDataSourceReader | |
bool | IsLiveMode [get] |
True if we're in live mode, false for backtesting More... | |
IDataCacheProvider | DataCacheProvider [get] |
The data cache provider to use More... | |
IObjectStore | ObjectStore [get] |
The object store to use More... | |
Events inherited from QuantConnect.Lean.Engine.DataFeeds.BaseSubscriptionDataSourceReader | |
EventHandler< InvalidSourceEventArgs > | InvalidSource |
Event fired when the specified source is considered invalid, this may be from a missing file or failure to download a remote source More... | |
Events inherited from QuantConnect.Lean.Engine.DataFeeds.ISubscriptionDataSourceReader | |
EventHandler< InvalidSourceEventArgs > | InvalidSource |
Event fired when the specified source is considered invalid, this may be from a missing file or failure to download a remote source More... | |
This ISubscriptionDataSourceReader implementation supports the FileFormat.Index and IndexedBaseData types. Handles the layer of indirection for the index data source and forwards the target source to the corresponding ISubscriptionDataSourceReader
Definition at line 31 of file IndexSubscriptionDataSourceReader.cs.
QuantConnect.Lean.Engine.DataFeeds.IndexSubscriptionDataSourceReader.IndexSubscriptionDataSourceReader | ( | IDataCacheProvider | dataCacheProvider, |
SubscriptionDataConfig | config, | ||
DateTime | date, | ||
bool | isLiveMode, | ||
IDataProvider | dataProvider, | ||
IObjectStore | objectStore | ||
) |
Creates a new instance of this ISubscriptionDataSourceReader
Definition at line 41 of file IndexSubscriptionDataSourceReader.cs.
|
virtual |
Reads the specified source
source | The source to be read |
Implements QuantConnect.Lean.Engine.DataFeeds.BaseSubscriptionDataSourceReader.
Definition at line 65 of file IndexSubscriptionDataSourceReader.cs.