Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jhonabreul committed Feb 12, 2025
1 parent 71caf21 commit 4c8933b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Engine/DataFeeds/BacktestingChainProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ protected IEnumerable<Symbol> GetSymbols(Symbol canonicalSymbol, DateTime date)
false,
DataNormalizationMode.Raw,
TickType.Quote);
var history = historyProvider.GetHistory(new[] { request }, marketHoursEntry.DataTimeZone).ToList();
var history = historyProvider.GetHistory(new[] { request }, marketHoursEntry.DataTimeZone)?.ToList();

var symbols = history == null || history.Count == 0
? Enumerable.Empty<Symbol>()
Expand Down

0 comments on commit 4c8933b

Please sign in to comment.