diff --git a/Tests/Engine/DataFeeds/AlgorithmStub.cs b/Tests/Engine/DataFeeds/AlgorithmStub.cs index b971ba7d3896..ce5878cec0da 100644 --- a/Tests/Engine/DataFeeds/AlgorithmStub.cs +++ b/Tests/Engine/DataFeeds/AlgorithmStub.cs @@ -14,13 +14,13 @@ * */ +using QuantConnect.Python; using QuantConnect.Algorithm; using QuantConnect.Securities; using System.Collections.Generic; using QuantConnect.Lean.Engine.DataFeeds; using QuantConnect.Data.UniverseSelection; using QuantConnect.Tests.Common.Securities; -using QuantConnect.Interfaces; namespace QuantConnect.Tests.Engine.DataFeeds { @@ -44,6 +44,7 @@ public AlgorithmStub(bool createDataManager = true) var orderProcessor = new FakeOrderProcessor(); orderProcessor.TransactionManager = Transactions; Transactions.SetOrderProcessor(orderProcessor); + PythonInitializer.Initialize(); SetPandasConverter(); }