From 68997155314db38ced03d475d9b51ff5e68fdb8e Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Sat, 17 Feb 2018 11:52:43 +0100 Subject: [PATCH] Month and Year elliminated --- Multi-Period-Market/Interval.js | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/Multi-Period-Market/Interval.js b/Multi-Period-Market/Interval.js index 79a02bfcc..94263df44 100644 --- a/Multi-Period-Market/Interval.js +++ b/Multi-Period-Market/Interval.js @@ -40,29 +40,21 @@ let utilities = UTILITIES.newUtilities(bot); - let year; - let month; - return interval; function initialize(yearAssigend, monthAssigned, callBackFunction) { try { - year = yearAssigend; - month = monthAssigned; - /* IMPORTANT NOTE: We are ignoring in this Interval the received Year and Month. This interval is not depending on Year Month since it procecess the whole market at once. */ - month = utilities.pad(month, 2); // Adding a left zero when needed. + logger.fileName = MODULE_NAME; - logger.fileName = MODULE_NAME + "-" + year + "-" + month; - - const logText = "[INFO] initialize - Entering function 'initialize' " + " @ " + year + "-" + month; + const logText = "[INFO] initialize - Entering function 'initialize' "; console.log(logText); logger.write(logText);