Lean
$LEAN_TAG$
|
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...
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 > | |
T | Current [get] |
Gets the element in the collection at the current position of the enumerator. More... | |
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.
QuantConnect.Lean.Engine.DataFeeds.Enumerators.SynchronizingSliceEnumerator.SynchronizingSliceEnumerator | ( | params IEnumerator< Slice >[] | enumerators | ) |
Initializes a new instance of the SynchronizingSliceEnumerator class
enumerators | The enumerators to be synchronized. NOTE: Assumes the same time zone for all data |
Definition at line 34 of file SynchronizingSliceEnumerator.cs.
QuantConnect.Lean.Engine.DataFeeds.Enumerators.SynchronizingSliceEnumerator.SynchronizingSliceEnumerator | ( | IEnumerable< IEnumerator > | enumerators | ) |
Initializes a new instance of the SynchronizingSliceEnumerator class
enumerators | The enumerators to be synchronized. NOTE: Assumes the same time zone for all data |
Definition at line 43 of file SynchronizingSliceEnumerator.cs.
|
protected |
Gets the Timestamp for the data
Definition at line 50 of file SynchronizingSliceEnumerator.cs.