Lean  $LEAN_TAG$
QuantConnect.Lean.Engine.DataFeeds.ZipEntryNameSubscriptionDataSourceReader Class Reference

Provides an implementation of ISubscriptionDataSourceReader that reads zip entry names More...

Inheritance diagram for QuantConnect.Lean.Engine.DataFeeds.ZipEntryNameSubscriptionDataSourceReader:
[legend]

Public Member Functions

 ZipEntryNameSubscriptionDataSourceReader (IDataCacheProvider dataProvider, SubscriptionDataConfig config, DateTime date, bool isLiveMode)
 Initializes a new instance of the ZipEntryNameSubscriptionDataSourceReader class More...
 
override IEnumerable< BaseDataRead (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< InvalidSourceEventArgsInvalidSource
 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< InvalidSourceEventArgsInvalidSource
 Event fired when the specified source is considered invalid, this may be from a missing file or failure to download a remote source More...
 

Detailed Description

Provides an implementation of ISubscriptionDataSourceReader that reads zip entry names

Definition at line 27 of file ZipEntryNameSubscriptionDataSourceReader.cs.

Constructor & Destructor Documentation

◆ ZipEntryNameSubscriptionDataSourceReader()

QuantConnect.Lean.Engine.DataFeeds.ZipEntryNameSubscriptionDataSourceReader.ZipEntryNameSubscriptionDataSourceReader ( IDataCacheProvider  dataProvider,
SubscriptionDataConfig  config,
DateTime  date,
bool  isLiveMode 
)

Initializes a new instance of the ZipEntryNameSubscriptionDataSourceReader class

Parameters
dataProviderUsed to fetch data
configThe subscription's configuration
dateThe date this factory was produced to read data for
isLiveModeTrue if we're in live mode, false for backtesting

Definition at line 42 of file ZipEntryNameSubscriptionDataSourceReader.cs.

Member Function Documentation

◆ Read()

override IEnumerable<BaseData> QuantConnect.Lean.Engine.DataFeeds.ZipEntryNameSubscriptionDataSourceReader.Read ( SubscriptionDataSource  source)
virtual

Reads the specified source

Parameters
sourceThe source to be read
Returns
An IEnumerable<BaseData> that contains the data in the source

Implements QuantConnect.Lean.Engine.DataFeeds.BaseSubscriptionDataSourceReader.

Definition at line 57 of file ZipEntryNameSubscriptionDataSourceReader.cs.

Here is the call graph for this function:

The documentation for this class was generated from the following file: