Lean  $LEAN_TAG$
QuantConnect.Lean.Engine.DataFeeds.Enumerators.LiveSubscriptionEnumerator Class Reference

Enumerator that will subscribe through the provided data queue handler and refresh the subscription if any mapping occurs More...

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

Public Member Functions

 LiveSubscriptionEnumerator (SubscriptionDataConfig dataConfig, IDataQueueHandler dataQueueHandler, EventHandler handler, Func< SubscriptionDataConfig, bool > isExpired)
 Creates a new instance More...
 
bool MoveNext ()
 Advances the enumerator to the next element. More...
 
void Reset ()
 Reset the IEnumeration More...
 
void Dispose ()
 Disposes of the used enumerators More...
 

Public Attributes

BaseData Current => _current
 The current data object instance More...
 

Detailed Description

Enumerator that will subscribe through the provided data queue handler and refresh the subscription if any mapping occurs

Definition at line 30 of file LiveSubscriptionEnumerator.cs.

Constructor & Destructor Documentation

◆ LiveSubscriptionEnumerator()

QuantConnect.Lean.Engine.DataFeeds.Enumerators.LiveSubscriptionEnumerator.LiveSubscriptionEnumerator ( SubscriptionDataConfig  dataConfig,
IDataQueueHandler  dataQueueHandler,
EventHandler  handler,
Func< SubscriptionDataConfig, bool >  isExpired 
)

Creates a new instance

Definition at line 51 of file LiveSubscriptionEnumerator.cs.

Here is the call graph for this function:

Member Function Documentation

◆ MoveNext()

bool QuantConnect.Lean.Engine.DataFeeds.Enumerators.LiveSubscriptionEnumerator.MoveNext ( )

Advances the enumerator to the next element.

Definition at line 73 of file LiveSubscriptionEnumerator.cs.

Here is the call graph for this function:

◆ Reset()

void QuantConnect.Lean.Engine.DataFeeds.Enumerators.LiveSubscriptionEnumerator.Reset ( )

Reset the IEnumeration

Definition at line 99 of file LiveSubscriptionEnumerator.cs.

◆ Dispose()

void QuantConnect.Lean.Engine.DataFeeds.Enumerators.LiveSubscriptionEnumerator.Dispose ( )

Disposes of the used enumerators

Definition at line 107 of file LiveSubscriptionEnumerator.cs.

Member Data Documentation

◆ Current

BaseData QuantConnect.Lean.Engine.DataFeeds.Enumerators.LiveSubscriptionEnumerator.Current => _current

The current data object instance

Definition at line 41 of file LiveSubscriptionEnumerator.cs.


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