From de379726512a5e8d90cc72bdaf301d64b49b9e81 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Mon, 3 Feb 2020 17:59:08 +0100 Subject: [PATCH] Concept of Multiple Instances of a Process Removed --- Multi-Period-Daily/User.bot.js | 4 ++-- Multi-Period-Market/User.bot.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Multi-Period-Daily/User.bot.js b/Multi-Period-Daily/User.bot.js index 43cffff70..c7fea7ed0 100644 --- a/Multi-Period-Daily/User.bot.js +++ b/Multi-Period-Daily/User.bot.js @@ -28,7 +28,7 @@ return thisObject; - function initialize(pStatusDependencies, pMonth, pYear, callBackFunction) { + function initialize(pStatusDependencies, callBackFunction) { try { @@ -121,7 +121,7 @@ Read the candles and volumes from Bruce and produce a file for each day and for /* Second, we get the report from Bruce, to know when the marted ends. */ - reportKey = "AAMasters" + "-" + "AABruce" + "-" + "Single-Period-Daily" + "-" + "dataSet.V1" + "-" + bot.processDatetime.getUTCFullYear() + "-" + utilities.pad(bot.processDatetime.getUTCMonth() + 1,2); + reportKey = "AAMasters" + "-" + "AABruce" + "-" + "Single-Period-Daily" + "-" + "dataSet.V1" if (FULL_LOG === true) { logger.write(MODULE_NAME, "[INFO] start -> getContextVariables -> reportKey = " + reportKey); } statusReport = statusDependencies.statusReports.get(reportKey); diff --git a/Multi-Period-Market/User.bot.js b/Multi-Period-Market/User.bot.js index 0a0e1c154..fbeccde07 100644 --- a/Multi-Period-Market/User.bot.js +++ b/Multi-Period-Market/User.bot.js @@ -28,7 +28,7 @@ return thisObject; - function initialize(pStatusDependencies, pMonth, pYear, callBackFunction) { + function initialize(pStatusDependencies, callBackFunction) { try { @@ -130,7 +130,7 @@ /* Second, we get the report from Bruce, to know when the marted ends. */ - reportKey = "AAMasters" + "-" + "AABruce" + "-" + "Single-Period-Daily" + "-" + "dataSet.V1" + "-" + bot.processDatetime.getUTCFullYear() + "-" + utilities.pad(bot.processDatetime.getUTCMonth() + 1,2); + reportKey = "AAMasters" + "-" + "AABruce" + "-" + "Single-Period-Daily" + "-" + "dataSet.V1" if (FULL_LOG === true) { logger.write(MODULE_NAME, "[INFO] start -> getContextVariables -> reportKey = " + reportKey); } statusReport = statusDependencies.statusReports.get(reportKey);