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 bf7e6ed + 0a27a6e commit 667c216
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions QuantConnect.OandaBrokerage.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/"
}
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public static void OandaDownloader(IList<string> tickers, string resolution, Dat
var castResolution = allResolutions ? Resolution.Second : (Resolution)Enum.Parse(typeof(Resolution), resolution);

// Load settings from config.json
var dataDirectory = Config.Get("data-directory", "../../../Data");
var dataDirectory = Globals.DataFolder;
var accessToken = Config.Get("oanda-access-token", "73eba38ad5b44778f9a0c0fec1a66ed1-44f47f052c897b3e1e7f24196bbc071f");
var accountId = Config.Get("oanda-account-id", "621396");

Expand Down

0 comments on commit 667c216

Please sign in to comment.