From 866137040b62d1c713b086aa41059939ba5e4b44 Mon Sep 17 00:00:00 2001 From: Matias Date: Fri, 22 Feb 2019 18:07:03 -0300 Subject: [PATCH 1/3] Hardcoded bot version --- Root.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Root.js b/Root.js index e70a63ece..17ca233a9 100644 --- a/Root.js +++ b/Root.js @@ -813,6 +813,7 @@ } let clonName = botConfig.codeName + "-" + "Clon" + clonKey; + clonName += ".1.0"; if (global.CURRENT_EXECUTION_AT === "Cloud") { clonName += "-" + process.env.CLONE_ID; @@ -842,6 +843,8 @@ clonName += "-" + process.env.CLONE_ID; } + clonName += ".1.0"; + botConfig.filePathRoot = botConfig.devTeam + "/" + clonName + "/" + global.PLATFORM_CONFIG.codeName + "." + global.PLATFORM_CONFIG.version.major + "." + global.PLATFORM_CONFIG.version.minor + "/" + global.EXCHANGE_NAME + "/" + botConfig.dataSetVersion; pBotConfig.instance = clonName; From 17036c6cc8b38021a567ff6f59bcdae615d52118 Mon Sep 17 00:00:00 2001 From: Matias Date: Fri, 22 Feb 2019 18:12:52 -0300 Subject: [PATCH 2/3] Ignored files --- .gitignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 7ab8c3a90..d9ffcb1be 100644 --- a/.gitignore +++ b/.gitignore @@ -14,4 +14,5 @@ configs/Email.Config.json configs/User.Profile.json configs/Execution.Config.json configs/Secret.Keys.json -.env +*.env +*.vscode* \ No newline at end of file From a2db8302272fbce59a9f9868216f0b12cec4c458 Mon Sep 17 00:00:00 2001 From: Matias Date: Tue, 5 Mar 2019 18:23:07 -0300 Subject: [PATCH 3/3] Correcting bot type name --- Run.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Run.js b/Run.js index 1f79b005c..0b8d69e0a 100644 --- a/Run.js +++ b/Run.js @@ -80,7 +80,7 @@ function readExecutionConfiguration() { backtest: backtest, competition: competition } - } else if (process.env.TYPE === 'Indicator' || process.env.TYPE === 'Extractor') { + } else if (process.env.TYPE === 'Indicator' || process.env.TYPE === 'Extraction') { let allMonths = { run: "false", minYear: process.env.MIN_YEAR, @@ -136,8 +136,6 @@ function readExecutionConfiguration() { } function readStoragePermissions() { - let filePath; - try { console.log( "[INFO] Run -> readStoragePermissions -> Entering function. "); @@ -187,10 +185,8 @@ function readStoragePermissions() { startRoot(); } - } - catch (err) { + } catch (err) { console.log("[ERROR] Run -> readStoragePermissions -> err = " + err.message); - console.log("[HINT] Run -> readStoragePermissions -> You need to have a file at this path -> " + filePath); } }