17 using System.Collections.Generic;
89 throw new InvalidOperationException(
90 "BaseVolatilityModel.GetHistoryRequirements(): " +
91 "SubscriptionDataConfigProvider was not set."
97 .OrderBy(c => c.TickType)
99 var configuration = configurations.First();
101 var bar = configuration.Type.GetBaseDataInstance();
102 bar.Symbol = security.
Symbol;
104 var historyResolution = resolution ?? bar.SupportedResolutions().Max();
106 var periodSpan = historyResolution.ToTimeSpan();
109 var extendedMarketHours = periodSpan !=
Time.
OneHour && configurations.IsExtendedMarketHours();
116 configuration.DataTimeZone, dailyPreciseEndTime:
false);
124 configuration.Symbol,
127 configuration.DataTimeZone,
130 configurations.IsCustomData(),
131 configuration.DataNormalizationMode,