Skip to content

Commit

Permalink
Merge pull request #10 from QuantConnect/bug-4342-remove-data-directory
Browse files Browse the repository at this point in the history
Remove 'data-directory' usage
  • Loading branch information
Martin-Molinero authored May 12, 2023
2 parents 12a7bea + 258d4b4 commit 2c10283
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 2c10283

Please sign in to comment.