diff --git a/TaskServer/IndicatorBot.js b/TaskServer/IndicatorBot.js index ff1832b47..ae3092e97 100644 --- a/TaskServer/IndicatorBot.js +++ b/TaskServer/IndicatorBot.js @@ -103,7 +103,6 @@ logger.initialize(); TS.projects.superalgos.globals.processVariables.VARIABLES_BY_PROCESS_INDEX_MAP.get(processIndex).MAIN_LOOP_COUNTER++; - bot.loopStartTime = new Date().valueOf(); /* We tell the UI that we are running. */ TS.projects.superalgos.functionLibraries.processFunctions.processHeartBeat(processIndex) diff --git a/TaskServer/LowFrequencyTrading/TradingProcess.js b/TaskServer/LowFrequencyTrading/TradingProcess.js index 186d6c1d1..f27c4d0eb 100644 --- a/TaskServer/LowFrequencyTrading/TradingProcess.js +++ b/TaskServer/LowFrequencyTrading/TradingProcess.js @@ -706,7 +706,6 @@ let reportKey = TS.projects.superalgos.globals.taskConstants.TASK_NODE.bot.processes[processIndex].referenceParent.parentNode.parentNode.config.codeName + "-" + TS.projects.superalgos.globals.taskConstants.TASK_NODE.bot.processes[processIndex].referenceParent.parentNode.config.codeName + "-" + TS.projects.superalgos.globals.taskConstants.TASK_NODE.bot.processes[processIndex].referenceParent.config.codeName let thisReport = statusDependencies.statusReports.get(reportKey) - thisReport.file.lastExecution = bot.currentDaytime thisReport.file.lastFile = tradingProcessDate thisReport.file.simulationState = TS.projects.superalgos.globals.processVariables.VARIABLES_BY_PROCESS_INDEX_MAP.get(processIndex).SIMULATION_STATE thisReport.file.timeFrames = currentTimeFrameLabel diff --git a/TaskServer/MultiPeriodDaily.js b/TaskServer/MultiPeriodDaily.js index 61e01dbcd..d6cc23e1b 100644 --- a/TaskServer/MultiPeriodDaily.js +++ b/TaskServer/MultiPeriodDaily.js @@ -49,7 +49,6 @@ function start(callBackFunction) { try { - let market = bot.market; /* Context Variables */ let contextVariables = { @@ -548,7 +547,6 @@ let reportKey = TS.projects.superalgos.globals.taskConstants.TASK_NODE.bot.processes[processIndex].referenceParent.parentNode.parentNode.config.codeName + "-" + TS.projects.superalgos.globals.taskConstants.TASK_NODE.bot.processes[processIndex].referenceParent.parentNode.config.codeName + "-" + "Multi-Period-Daily" let thisReport = statusDependencies.statusReports.get(reportKey) - thisReport.file.lastExecution = bot.currentDaytime; thisReport.file.lastFile = lastFileDate; thisReport.file.interExecutionMemoryArray = interExecutionMemoryArray; thisReport.file.beginingOfMarket = beginingOfMarket.toUTCString() diff --git a/TaskServer/SensorBot.js b/TaskServer/SensorBot.js index f2c0c1875..cf5db1699 100644 --- a/TaskServer/SensorBot.js +++ b/TaskServer/SensorBot.js @@ -109,7 +109,6 @@ logger.initialize(); TS.projects.superalgos.globals.processVariables.VARIABLES_BY_PROCESS_INDEX_MAP.get(processIndex).MAIN_LOOP_COUNTER++; - bot.loopStartTime = new Date().valueOf(); /* We tell the UI that we are running. */ TS.projects.superalgos.functionLibraries.processFunctions.processHeartBeat(processIndex) diff --git a/TaskServer/TradingBot.js b/TaskServer/TradingBot.js index 22f5a5180..b76e83119 100644 --- a/TaskServer/TradingBot.js +++ b/TaskServer/TradingBot.js @@ -65,7 +65,6 @@ logger.initialize(); TS.projects.superalgos.globals.processVariables.VARIABLES_BY_PROCESS_INDEX_MAP.get(processIndex).MAIN_LOOP_COUNTER++; - bot.loopStartTime = new Date().valueOf(); let nextWaitTime;