Skip to content

Commit

Permalink
Remove 'data-directory' usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin-Molinero committed May 12, 2023
1 parent 12a7bea commit 258d4b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions QuantConnect.GDAXBrokerage.Tests/config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"data-folder": "../../../../Lean/Data/",
"data-directory": "../../../../Lean/Data/"
"data-folder": "../../../../Lean/Data/"
}
3 changes: 1 addition & 2 deletions QuantConnect.GDAXBrokerage.ToolBox/GDAXDownloaderProgram.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
using QuantConnect.Logging;
using System.Globalization;
using System.Collections.Generic;
using QuantConnect.Configuration;

namespace QuantConnect.ToolBox.GDAXDownloader
{
Expand All @@ -44,7 +43,7 @@ public static void GDAXDownloader(IList<string> 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;
Expand Down

0 comments on commit 258d4b4

Please sign in to comment.