Helper methods used to determine different configurations properties for a given set of SubscriptionDataConfig
More...
Helper methods used to determine different configurations properties for a given set of SubscriptionDataConfig
Definition at line 26 of file SubscriptionDataConfigExtensions.cs.
◆ GetHighestResolution()
◆ IsFillForward()
static bool QuantConnect.Data.SubscriptionDataConfigExtensions.IsFillForward |
( |
this IEnumerable< SubscriptionDataConfig > |
subscriptionDataConfigs | ) |
|
|
static |
◆ IsExtendedMarketHours()
static bool QuantConnect.Data.SubscriptionDataConfigExtensions.IsExtendedMarketHours |
( |
this IEnumerable< SubscriptionDataConfig > |
subscriptionDataConfigs | ) |
|
|
static |
◆ IsCustomData()
static bool QuantConnect.Data.SubscriptionDataConfigExtensions.IsCustomData |
( |
this IEnumerable< SubscriptionDataConfig > |
subscriptionDataConfigs | ) |
|
|
static |
◆ DataNormalizationMode()
◆ SetDataNormalizationMode()
◆ TickerShouldBeMapped()
static bool QuantConnect.Data.SubscriptionDataConfigExtensions.TickerShouldBeMapped |
( |
this SubscriptionDataConfig |
config | ) |
|
|
static |
Will determine if mapping should be used for this subscription configuration
- Parameters
-
config | The subscription data configuration we are processing |
One of the objectives of this method is to normalize the 'use mapping' check and void code duplication and related issues
- Returns
- True if ticker should be mapped
Definition at line 117 of file SubscriptionDataConfigExtensions.cs.
◆ PricesShouldBeScaled()
static bool QuantConnect.Data.SubscriptionDataConfigExtensions.PricesShouldBeScaled |
( |
this SubscriptionDataConfig |
config, |
|
|
bool |
liveMode = false |
|
) |
| |
|
static |
Will determine if price scaling should be used for this subscription configuration
- Parameters
-
config | The subscription data configuration we are processing |
One of the objectives of this method is to normalize the 'use price scale' check and void code duplication and related issues
- Parameters
-
liveMode | True, is this is a live mode data stream |
- Returns
- True if ticker prices should be scaled
Definition at line 132 of file SubscriptionDataConfigExtensions.cs.
◆ EmitSplitsAndDividends()
static bool QuantConnect.Data.SubscriptionDataConfigExtensions.EmitSplitsAndDividends |
( |
this SubscriptionDataConfig |
config | ) |
|
|
static |
Will determine if splits and dividends should be used for this subscription configuration
- Parameters
-
config | The subscription data configuration we are processing |
Different than PricesShouldBeScaled because prices could be scale and no split and dividends really exist, like in the continuous futures case
- Returns
- True if this configuration requires split and divided handling
Definition at line 158 of file SubscriptionDataConfigExtensions.cs.
◆ GetBaseDataInstance()
The documentation for this class was generated from the following file: