diff --git a/Context.js b/Context.js index 69494f7dd..6463f3243 100644 --- a/Context.js +++ b/Context.js @@ -289,6 +289,7 @@ */ + logger.write(MODULE_NAME, "[ERROR] initialize -> getExecutionContext -> onFileReceived -> Response from storage. -> Text = " + text); logger.write(MODULE_NAME, "[ERROR] initialize -> getExecutionContext -> onFileReceived -> Bot cannot execute without the Execution Context. -> Err = " + err.message); callBack(global.DEFAULT_FAIL_RESPONSE); } diff --git a/IndicatorBotProcessMainLoop.js b/IndicatorBotProcessMainLoop.js index dabe97326..9d06c3150 100644 --- a/IndicatorBotProcessMainLoop.js +++ b/IndicatorBotProcessMainLoop.js @@ -157,7 +157,7 @@ /* High level log entry */ console.log(new Date().toISOString() + " " + pad(bot.codeName, 20) + " " + pad(bot.process, 30) + " " + pad(pMonth, 2) + "/" + pad(pYear, 4) - + " Entered into Main Loop # " + pad(Number(bot.loopCounter), 8) + " bot.processDatetime = " + bot.processDatetime.toISOString()); + + " Entered into Main Loop # " + pad(Number(bot.loopCounter), 8)); /* We will prepare first the infraestructure needed for the bot to run. There are 3 modules we need to sucessfullly initialize first. */ diff --git a/MultiPeriodDaily.js b/MultiPeriodDaily.js index c25258817..884f53e4a 100644 --- a/MultiPeriodDaily.js +++ b/MultiPeriodDaily.js @@ -297,6 +297,8 @@ bot.processDatetime = new Date(contextVariables.lastFile.valueOf() - ONE_DAY_IN_MILISECONDS); // Go back one day to start well when we advance time at the begining of the loop. + console.log(new Date().toISOString() + " " + pad(bot.codeName, 20) + " " + pad(bot.process, 30) + " " + " bot.processDatetime = " + bot.processDatetime.toISOString()); + advanceTime(); function advanceTime() { diff --git a/package.json b/package.json index 195aa8647..c1dfc083b 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "author": "Luis-Fernando-Molina", "license": "ISC", "dependencies": { - "@superalgos/exchange-gateway": "0.0.1", + "@superalgos/exchange-gateway": "0.0.2", "@superalgos/mqservice": "0.0.14", "apollo-boost": "^0.1.16", "assert": "^1.4.1",