30 private readonly
bool _dailyStrictEndTimeEnabled;
31 private readonly
bool _extendedMarketHours;
32 private bool _useStrictEndTime;
84 _dailyStrictEndTimeEnabled = dailyStrictEndTimeEnabled;
85 Period = resolution.ToTimeSpan();
86 _extendedMarketHours = extendedMarketHours;
88 if (dataType == typeof(
Tick))
103 else if (dataType == typeof(
TradeBar))
109 else if (dataType == typeof(
QuoteBar))
117 throw new ArgumentNullException(nameof(dataType), $
"{dataType.Name} not supported");
145 public void Scan(DateTime currentLocalTime)
168 ExchangeHours = marketHoursDatabase.GetExchangeHours(symbol.ID.Market, symbol, symbol.SecurityType);
169 DataTimeZone = marketHoursDatabase.GetDataTimeZone(symbol.ID.Market, symbol, symbol.SecurityType);
180 if (!_useStrictEndTime)