Skip to content

Commit

Permalink
Nit changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Marinovsky committed Nov 29, 2024
1 parent 264a7c0 commit 7c1e91b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Algorithm/QCAlgorithm.Indicators.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3235,8 +3235,8 @@ private void WarmUpIndicatorImpl<T>(Symbol symbol, TimeSpan period, Action<T> ha
}
else
{
var timezone = MarketHoursDatabase.GetDataTimeZone(symbol.ID.Market, symbol, symbol.SecurityType);
currentTime = this.UtcTime.ConvertFromUtc(timezone);
var exchangeHours = MarketHoursDatabase.GetExchangeHours(symbol.ID.Market, symbol, symbol.SecurityType);
currentTime = UtcTime.ConvertFromUtc(exchangeHours.TimeZone);
}

consolidator.Scan(currentTime);
Expand Down

0 comments on commit 7c1e91b

Please sign in to comment.