From 2e6c6f96446980440dab422c5635a612433dcd3a Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Tue, 1 Dec 2020 13:55:14 +0100 Subject: [PATCH] Bug fixed --- TaskServer/Commons.js | 2 +- TaskServer/IndicatorOutput.js | 2 +- TaskServer/LowFrequencyTrading/TradingProcess.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/TaskServer/Commons.js b/TaskServer/Commons.js index e96590e82..3297b2af7 100644 --- a/TaskServer/Commons.js +++ b/TaskServer/Commons.js @@ -1,4 +1,4 @@ -exports.newCommons = function newCommons(UTILITIES, FILE_STORAGE) { +exports.newCommons = function (processIndex, UTILITIES, FILE_STORAGE) { const MODULE_NAME = "Commons"; diff --git a/TaskServer/IndicatorOutput.js b/TaskServer/IndicatorOutput.js index 1bd318da0..7003d2eb7 100644 --- a/TaskServer/IndicatorOutput.js +++ b/TaskServer/IndicatorOutput.js @@ -11,7 +11,7 @@ let fileStorage = FILE_STORAGE.newFileStorage(processIndex, ); const COMMONS = require('./Commons.js'); - let commons = COMMONS.newCommons(UTILITIES, FILE_STORAGE); + let commons = COMMONS.newCommons(processIndex, UTILITIES, FILE_STORAGE); return thisObject; diff --git a/TaskServer/LowFrequencyTrading/TradingProcess.js b/TaskServer/LowFrequencyTrading/TradingProcess.js index 3cfda833b..a0896638a 100644 --- a/TaskServer/LowFrequencyTrading/TradingProcess.js +++ b/TaskServer/LowFrequencyTrading/TradingProcess.js @@ -550,7 +550,7 @@ function buildCharts(chart) { const COMMONS = require('../Commons.js') - let commons = COMMONS.newCommons(UTILITIES, FILE_STORAGE) + let commons = COMMONS.newCommons(processIndex, UTILITIES, FILE_STORAGE) let mainDependency = {}