Lean
$LEAN_TAG$
|
Enumerator that will subscribe through the provided data queue handler and refresh the subscription if any mapping occurs More...
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... | |
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.
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.
bool QuantConnect.Lean.Engine.DataFeeds.Enumerators.LiveSubscriptionEnumerator.MoveNext | ( | ) |
Advances the enumerator to the next element.
Definition at line 73 of file LiveSubscriptionEnumerator.cs.
void QuantConnect.Lean.Engine.DataFeeds.Enumerators.LiveSubscriptionEnumerator.Reset | ( | ) |
Reset the IEnumeration
Definition at line 99 of file LiveSubscriptionEnumerator.cs.
void QuantConnect.Lean.Engine.DataFeeds.Enumerators.LiveSubscriptionEnumerator.Dispose | ( | ) |
Disposes of the used enumerators
Definition at line 107 of file LiveSubscriptionEnumerator.cs.
BaseData QuantConnect.Lean.Engine.DataFeeds.Enumerators.LiveSubscriptionEnumerator.Current => _current |
The current data object instance
Definition at line 41 of file LiveSubscriptionEnumerator.cs.