From 9eb6732638e79038c1970149c9fab4368ab4137b Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Thu, 20 May 2021 19:23:55 +0200 Subject: [PATCH] Market Files Working up to All Time High Plotter --- .../Indicator-Bot/FromOneMinToMultiPeriodMarket.js | 2 +- .../TS/Bot-Modules/Indicator-Bot/MultiPeriodMarket.js | 2 +- Projects/Superalgos/TS/Task-Modules/DebugLog.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Projects/Superalgos/TS/Bot-Modules/Indicator-Bot/FromOneMinToMultiPeriodMarket.js b/Projects/Superalgos/TS/Bot-Modules/Indicator-Bot/FromOneMinToMultiPeriodMarket.js index be6f47934..84c7ce76a 100644 --- a/Projects/Superalgos/TS/Bot-Modules/Indicator-Bot/FromOneMinToMultiPeriodMarket.js +++ b/Projects/Superalgos/TS/Bot-Modules/Indicator-Bot/FromOneMinToMultiPeriodMarket.js @@ -782,7 +782,7 @@ exports.newSuperalgosBotModulesFromOneMinToMultiPeriodMarket = function (process let filePath = TS.projects.superalgos.globals.processVariables.VARIABLES_BY_PROCESS_INDEX_MAP.get(processIndex).FILE_PATH_ROOT + "/Output/" + outputDatasetNode.referenceParent.parentNode.config.codeName + "/" + - TS.projects.superalgos.globals.taskConstants.TASK_NODE.bot.processes[processIndex].referenceParent.config.codeName + "/" + + outputDatasetNode.referenceParent.config.codeName + "/" + TIME_FRAME_LABEL filePath += '/' + fileName diff --git a/Projects/Superalgos/TS/Bot-Modules/Indicator-Bot/MultiPeriodMarket.js b/Projects/Superalgos/TS/Bot-Modules/Indicator-Bot/MultiPeriodMarket.js index 1583b4eb9..5286de81a 100644 --- a/Projects/Superalgos/TS/Bot-Modules/Indicator-Bot/MultiPeriodMarket.js +++ b/Projects/Superalgos/TS/Bot-Modules/Indicator-Bot/MultiPeriodMarket.js @@ -95,7 +95,7 @@ function onFileReceived(err, text) { if (err.result !== TS.projects.superalgos.globals.standardResponses.DEFAULT_OK_RESPONSE.result) { TS.projects.superalgos.globals.loggerVariables.VARIABLES_BY_PROCESS_INDEX_MAP.get(processIndex).BOT_MAIN_LOOP_LOGGER_MODULE_OBJECT.write(MODULE_NAME, - "[ERROR] start -> processTimeFrames -> timeFramesLoopBody -> dependencyLoopBody -> getFile -> onFileReceived -> err = " + err.stack) + "[ERROR] start -> processTimeFrames -> timeFramesLoopBody -> dependencyLoopBody -> getFile -> onFileReceived -> err = " + JSON.stringify(err)) callBackFunction(err) return; } diff --git a/Projects/Superalgos/TS/Task-Modules/DebugLog.js b/Projects/Superalgos/TS/Task-Modules/DebugLog.js index a3ffccb94..feb23a57f 100644 --- a/Projects/Superalgos/TS/Task-Modules/DebugLog.js +++ b/Projects/Superalgos/TS/Task-Modules/DebugLog.js @@ -50,9 +50,9 @@ exports.newSuperalgosTaskModulesDebugLog = function (processIndex) { " " + strPad(TS.projects.superalgos.globals.taskConstants.TASK_NODE.bot.processes[processIndex].referenceParent.parentNode.parentNode.config.codeName, 20) + " " + - strPad(TS.projects.superalgos.globals.taskConstants.TASK_NODE.bot.processes[processIndex].referenceParent.parentNode.config.codeName, 30) + + strPad(TS.projects.superalgos.globals.taskConstants.TASK_NODE.bot.processes[processIndex].referenceParent.parentNode.config.codeName, 40) + " " + - strPad(TS.projects.superalgos.globals.taskConstants.TASK_NODE.bot.processes[processIndex].referenceParent.config.codeName, 30) + + strPad(TS.projects.superalgos.globals.taskConstants.TASK_NODE.bot.processes[processIndex].referenceParent.config.codeName, 40) + loopType + strPad(TS.projects.superalgos.globals.processVariables.VARIABLES_BY_PROCESS_INDEX_MAP.get(processIndex).MAIN_LOOP_COUNTER, 8) + " " +