Skip to content

Commit

Permalink
Fix unsupported configuration warnings filter
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin-Molinero committed Jul 19, 2023
1 parent 2a941e7 commit b0d254f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Engine/DataFeeds/DataQueueHandlerManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
using QuantConnect.Packets;
using QuantConnect.Logging;
using QuantConnect.Interfaces;
using QuantConnect.Data.Market;
using System.Collections.Generic;
using QuantConnect.Lean.Engine.DataFeeds.Enumerators;

Expand Down Expand Up @@ -97,7 +98,12 @@ public IEnumerator<BaseData> Subscribe(SubscriptionDataConfig dataConfig, EventH
}
}

UnsupportedConfiguration?.Invoke(this, dataConfig);
// ignore universe configurations not suported
if (!dataConfig.Symbol.Value.Contains("-UNIVERSE-", StringComparison.InvariantCultureIgnoreCase)
&& dataConfig.Type != typeof(Delisting))
{
UnsupportedConfiguration?.Invoke(this, dataConfig);
}
return null;
}

Expand Down

0 comments on commit b0d254f

Please sign in to comment.