From 963476d9d875d6cb6ae7b5a320bea2793d2e8a66 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Mon, 8 Jun 2020 14:55:12 +0200 Subject: [PATCH] Update TradingSimulation.js --- Trading/TradingSimulation.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Trading/TradingSimulation.js b/Trading/TradingSimulation.js index 14929837c..3161270a9 100644 --- a/Trading/TradingSimulation.js +++ b/Trading/TradingSimulation.js @@ -401,9 +401,9 @@ exports.newTradingSimulation = function newTradingSimulation(bot, logger, UTILIT function checkIfWeAreAtTheHeadOfTheMarket() { /* -We skip the candle at the head of the market because it has not closed yet. The procedure to determine if we are at the head of the market is different -when we are processing Market Files than when we are processing Daily Files. TODO Check that the procedure is good for Beta 6 -*/ + We skip the candle at the head of the market because it has not closed yet. The procedure to determine if we are at the head of the market is different + when we are processing Market Files than when we are processing Daily Files. TODO Check that the procedure is good for Beta 6 + */ if (bot.processingDailyFiles) { // We are processing Daily Files let candlesPerDay = ONE_DAY_IN_MILISECONDS / sessionParameters.timeFrame.config.value if (tradingEngine.current.candle.index.value === candles.length - 1) {