diff --git a/QuantConnect.GDAXBrokerage.Tests/config.json b/QuantConnect.GDAXBrokerage.Tests/config.json index e7b07ea..2b72fc0 100644 --- a/QuantConnect.GDAXBrokerage.Tests/config.json +++ b/QuantConnect.GDAXBrokerage.Tests/config.json @@ -1,4 +1,3 @@ { - "data-folder": "../../../../Lean/Data/", - "data-directory": "../../../../Lean/Data/" + "data-folder": "../../../../Lean/Data/" } \ No newline at end of file diff --git a/QuantConnect.GDAXBrokerage.ToolBox/GDAXDownloaderProgram.cs b/QuantConnect.GDAXBrokerage.ToolBox/GDAXDownloaderProgram.cs index c759853..f6967e7 100644 --- a/QuantConnect.GDAXBrokerage.ToolBox/GDAXDownloaderProgram.cs +++ b/QuantConnect.GDAXBrokerage.ToolBox/GDAXDownloaderProgram.cs @@ -20,7 +20,6 @@ using QuantConnect.Logging; using System.Globalization; using System.Collections.Generic; -using QuantConnect.Configuration; namespace QuantConnect.ToolBox.GDAXDownloader { @@ -44,7 +43,7 @@ public static void GDAXDownloader(IList tickers, string resolution, Date try { // Load settings from config.json - var dataDirectory = Config.Get("data-directory", "../../../Data"); + var dataDirectory = Globals.DataFolder; //todo: will download any exchange but always save as gdax // Create an instance of the downloader const string market = Market.GDAX;