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

Represents an enumerator capable of synchronizing other slice enumerators in time. This assumes that all enumerators have data time stamped in the same time zone More...

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

Public Member Functions

 SynchronizingSliceEnumerator (params IEnumerator< Slice >[] enumerators)
 Initializes a new instance of the SynchronizingSliceEnumerator class More...
 
 SynchronizingSliceEnumerator (IEnumerable< IEnumerator > enumerators)
 Initializes a new instance of the SynchronizingSliceEnumerator class More...
 
- Public Member Functions inherited from QuantConnect.Lean.Engine.DataFeeds.Enumerators.SynchronizingEnumerator< T >
bool MoveNext ()
 Advances the enumerator to the next element of the collection. More...
 
void Reset ()
 Sets the enumerator to its initial position, which is before the first element in the collection. More...
 
void Dispose ()
 Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. More...
 

Protected Member Functions

override DateTime GetInstanceTime (Slice instance)
 Gets the Timestamp for the data More...
 
- Protected Member Functions inherited from QuantConnect.Lean.Engine.DataFeeds.Enumerators.SynchronizingEnumerator< T >
abstract DateTime GetInstanceTime (T instance)
 Gets the Timestamp for the data More...
 
 SynchronizingEnumerator (params IEnumerator< T >[] enumerators)
 Initializes a new instance of the SynchronizingEnumerator<T> class More...
 
 SynchronizingEnumerator (IEnumerable< IEnumerator< T >> enumerators)
 Initializes a new instance of the SynchronizingEnumerator<T> class More...
 

Additional Inherited Members

- Properties inherited from QuantConnect.Lean.Engine.DataFeeds.Enumerators.SynchronizingEnumerator< T >
Current [get]
 Gets the element in the collection at the current position of the enumerator. More...
 

Detailed Description

Represents an enumerator capable of synchronizing other slice enumerators in time. This assumes that all enumerators have data time stamped in the same time zone

Definition at line 28 of file SynchronizingSliceEnumerator.cs.

Constructor & Destructor Documentation

◆ SynchronizingSliceEnumerator() [1/2]

QuantConnect.Lean.Engine.DataFeeds.Enumerators.SynchronizingSliceEnumerator.SynchronizingSliceEnumerator ( params IEnumerator< Slice >[]  enumerators)

Initializes a new instance of the SynchronizingSliceEnumerator class

Parameters
enumeratorsThe enumerators to be synchronized. NOTE: Assumes the same time zone for all data

Definition at line 34 of file SynchronizingSliceEnumerator.cs.

◆ SynchronizingSliceEnumerator() [2/2]

QuantConnect.Lean.Engine.DataFeeds.Enumerators.SynchronizingSliceEnumerator.SynchronizingSliceEnumerator ( IEnumerable< IEnumerator >  enumerators)

Initializes a new instance of the SynchronizingSliceEnumerator class

Parameters
enumeratorsThe enumerators to be synchronized. NOTE: Assumes the same time zone for all data

Definition at line 43 of file SynchronizingSliceEnumerator.cs.

Member Function Documentation

◆ GetInstanceTime()

override DateTime QuantConnect.Lean.Engine.DataFeeds.Enumerators.SynchronizingSliceEnumerator.GetInstanceTime ( Slice  instance)
protected

Gets the Timestamp for the data

Definition at line 50 of file SynchronizingSliceEnumerator.cs.


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