16 using System.Collections.Generic;
36 this IEnumerable<SubscriptionDataConfig> subscriptionDataConfigs)
38 return subscriptionDataConfigs
39 .Select(x => x.Resolution)
51 this IEnumerable<SubscriptionDataConfig> subscriptionDataConfigs)
53 return subscriptionDataConfigs.Any(x => x.FillDataForward);
63 this IEnumerable<SubscriptionDataConfig> subscriptionDataConfigs)
65 return subscriptionDataConfigs.Any(x => x.ExtendedMarketHours);
75 this IEnumerable<SubscriptionDataConfig> subscriptionDataConfigs)
77 return subscriptionDataConfigs.Any(x => x.IsCustomData);
88 this IEnumerable<SubscriptionDataConfig> subscriptionDataConfigs)
90 return subscriptionDataConfigs.
91 Select(x => x.DataNormalizationMode)
92 .DefaultIfEmpty(
QuantConnect.DataNormalizationMode.Adjusted)
101 this IEnumerable<SubscriptionDataConfig> subscriptionDataConfigs,
104 foreach (var subscription
in subscriptionDataConfigs)
106 subscription.DataNormalizationMode = mode;
168 var instance = config.
Type.GetBaseDataInstance();
169 instance.Symbol = config.
Symbol;