Lean
$LEAN_TAG$
|
Represents a grouping of data emitted at a certain time. More...
Public Member Functions | |
TimeSlice (DateTime time, int dataPointCount, Slice slice, List< DataFeedPacket > data, List< UpdateData< ISecurityPrice >> securitiesUpdateData, List< UpdateData< SubscriptionDataConfig >> consolidatorUpdateData, List< UpdateData< ISecurityPrice >> customData, SecurityChanges securityChanges, Dictionary< Universe, BaseDataCollection > universeData, bool isTimePulse=false) | |
Initializes a new TimeSlice containing the specified data More... | |
Properties | |
int | DataPointCount [get] |
Gets the count of data points in this TimeSlice More... | |
DateTime | Time [get] |
Gets the UTC time this data was emitted More... | |
List< DataFeedPacket > | Data [get] |
Gets the data in the time slice More... | |
Slice | Slice [get] |
Gets the Slice that will be used as input for the algorithm More... | |
List< UpdateData< ISecurityPrice > > | SecuritiesUpdateData [get] |
Gets the data used to update securities More... | |
List< UpdateData< SubscriptionDataConfig > > | ConsolidatorUpdateData [get] |
Gets the data used to update the consolidators More... | |
List< UpdateData< ISecurityPrice > > | CustomData [get] |
Gets all the custom data in this TimeSlice More... | |
SecurityChanges | SecurityChanges [get] |
Gets the changes to the data subscriptions as a result of universe selection More... | |
Dictionary< Universe, BaseDataCollection > | UniverseData [get] |
Gets the universe data generated this time step. More... | |
bool | IsTimePulse [get] |
True indicates this time slice is a time pulse for the algorithm containing no data More... | |
Represents a grouping of data emitted at a certain time.
Definition at line 28 of file TimeSlice.cs.
QuantConnect.Lean.Engine.DataFeeds.TimeSlice.TimeSlice | ( | DateTime | time, |
int | dataPointCount, | ||
Slice | slice, | ||
List< DataFeedPacket > | data, | ||
List< UpdateData< ISecurityPrice >> | securitiesUpdateData, | ||
List< UpdateData< SubscriptionDataConfig >> | consolidatorUpdateData, | ||
List< UpdateData< ISecurityPrice >> | customData, | ||
SecurityChanges | securityChanges, | ||
Dictionary< Universe, BaseDataCollection > | universeData, | ||
bool | isTimePulse = false |
||
) |
Initializes a new TimeSlice containing the specified data
Definition at line 83 of file TimeSlice.cs.
|
get |
Gets the count of data points in this TimeSlice
Definition at line 33 of file TimeSlice.cs.
|
get |
Gets the UTC time this data was emitted
Definition at line 38 of file TimeSlice.cs.
|
get |
Gets the data in the time slice
Definition at line 43 of file TimeSlice.cs.
|
get |
Gets the Slice that will be used as input for the algorithm
Definition at line 48 of file TimeSlice.cs.
|
get |
Gets the data used to update securities
Definition at line 53 of file TimeSlice.cs.
|
get |
Gets the data used to update the consolidators
Definition at line 58 of file TimeSlice.cs.
|
get |
Gets all the custom data in this TimeSlice
Definition at line 63 of file TimeSlice.cs.
|
get |
Gets the changes to the data subscriptions as a result of universe selection
Definition at line 68 of file TimeSlice.cs.
|
get |
Gets the universe data generated this time step.
Definition at line 73 of file TimeSlice.cs.
|
get |
True indicates this time slice is a time pulse for the algorithm containing no data
Definition at line 78 of file TimeSlice.cs.