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

Provides a factory method for creating ISubscriptionDataSourceReader instances More...

Static Public Member Functions

static ISubscriptionDataSourceReader ForSource (SubscriptionDataSource source, IDataCacheProvider dataCacheProvider, SubscriptionDataConfig config, DateTime date, bool isLiveMode, BaseData factory, IDataProvider dataProvider, IObjectStore objectStore)
 Creates a new ISubscriptionDataSourceReader capable of handling the specified source More...
 
static void CheckRemoteFileCache ()
 Creates cache directory if not existing and deletes old files from the cache More...
 

Detailed Description

Provides a factory method for creating ISubscriptionDataSourceReader instances

Definition at line 29 of file SubscriptionDataSourceReader.cs.

Member Function Documentation

◆ ForSource()

static ISubscriptionDataSourceReader QuantConnect.Lean.Engine.DataFeeds.SubscriptionDataSourceReader.ForSource ( SubscriptionDataSource  source,
IDataCacheProvider  dataCacheProvider,
SubscriptionDataConfig  config,
DateTime  date,
bool  isLiveMode,
BaseData  factory,
IDataProvider  dataProvider,
IObjectStore  objectStore 
)
static

Creates a new ISubscriptionDataSourceReader capable of handling the specified source

Parameters
sourceThe subscription data source to create a factory for
dataCacheProviderUsed to cache data
configThe configuration of the subscription
dateThe date to be processed
isLiveModeTrue for live mode, false otherwise
factoryThe base data instance factory
dataProviderThe data provider to use
Returns
A new ISubscriptionDataSourceReader that can read the specified source

Definition at line 44 of file SubscriptionDataSourceReader.cs.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CheckRemoteFileCache()

static void QuantConnect.Lean.Engine.DataFeeds.SubscriptionDataSourceReader.CheckRemoteFileCache ( )
static

Creates cache directory if not existing and deletes old files from the cache

Definition at line 87 of file SubscriptionDataSourceReader.cs.

Here is the caller graph for this function:

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