diff --git a/DataProcessing/DataProcessing.csproj b/DataProcessing/DataProcessing.csproj index f6ba931..505d107 100644 --- a/DataProcessing/DataProcessing.csproj +++ b/DataProcessing/DataProcessing.csproj @@ -9,6 +9,7 @@ + diff --git a/DataProcessing/Program.cs b/DataProcessing/Program.cs index 9a6f6bb..d2330c5 100644 --- a/DataProcessing/Program.cs +++ b/DataProcessing/Program.cs @@ -17,7 +17,7 @@ using System.Globalization; using System.IO; using QuantConnect.Configuration; -using QuantConnect.DataSource; +using QuantConnect.Interfaces; using QuantConnect.Logging; using QuantConnect.Util; @@ -42,6 +42,10 @@ public static int Main() var sourceDirectory = new DirectoryInfo(Config.Get("raw-folder", "/raw")); var destinationDirectory = new DirectoryInfo(Config.Get("temp-output-directory", "/temp-output-directory")); + var dataProvider = Composer.Instance.GetExportedValueByTypeName(Config.Get("data-provider", "DefaultDataProvider")); + var mapFileProvider = Composer.Instance.GetExportedValueByTypeName(Config.Get("map-file-provider", "LocalZipMapFileProvider")); + mapFileProvider.Initialize(dataProvider); + TiingoNewsConverter instance; try {