Lean
$LEAN_TAG$
|
Store data (either raw or adjusted) and the time at which it should be synchronized More...
Public Member Functions | |
SubscriptionData (BaseData data, DateTime emitTimeUtc) | |
Initializes a new instance of the SubscriptionData class More... | |
Static Public Member Functions | |
static SubscriptionData | Create (bool dailyStrictEndTimeEnabled, SubscriptionDataConfig configuration, SecurityExchangeHours exchangeHours, TimeZoneOffsetProvider offsetProvider, BaseData data, DataNormalizationMode normalizationMode, decimal? factor=null) |
Clones the data, computes the utc emit time and performs exchange round down behavior, storing the result in a new SubscriptionData instance More... | |
Public Attributes | |
virtual BaseData | Data => _data |
Gets the data More... | |
Properties | |
BaseData | _data [get, set] |
Data More... | |
DateTime | EmitTimeUtc [get] |
Gets the UTC emit time for this data More... | |
Store data (either raw or adjusted) and the time at which it should be synchronized
Definition at line 27 of file SubscriptionData.cs.
QuantConnect.Lean.Engine.DataFeeds.SubscriptionData.SubscriptionData | ( | BaseData | data, |
DateTime | emitTimeUtc | ||
) |
Initializes a new instance of the SubscriptionData class
data | The base data |
emitTimeUtc | The emit time for the data |
Definition at line 49 of file SubscriptionData.cs.
|
static |
Clones the data, computes the utc emit time and performs exchange round down behavior, storing the result in a new SubscriptionData instance
configuration | The subscription's configuration |
exchangeHours | The exchange hours of the security |
offsetProvider | The subscription's offset provider |
data | The data being emitted |
normalizationMode | Specifies how data is normalized |
factor | price scale factor |
Definition at line 65 of file SubscriptionData.cs.
Gets the data
Definition at line 37 of file SubscriptionData.cs.
|
getsetprotected |
Data
Definition at line 32 of file SubscriptionData.cs.
|
get |
Gets the UTC emit time for this data
Definition at line 42 of file SubscriptionData.cs.