From e18dab3e00593b9300f1db23a54979f03f7f2ef9 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Sat, 8 Jun 2019 08:48:08 +0200 Subject: [PATCH] Bug Fixed --- Commons.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Commons.js b/Commons.js index 54c3c0578..9597578ae 100644 --- a/Commons.js +++ b/Commons.js @@ -712,7 +712,7 @@ exports.newCommons = function newCommons(bot, logger, UTILITIES) { currentStrategy.endRate = candle.min; currentStrategy.status = 1; strategyStage = 'No Stage'; - currentStrategyIndex = 0; + currentStrategyIndex = -1; break; } } @@ -1215,7 +1215,7 @@ exports.newCommons = function newCommons(bot, logger, UTILITIES) { addRecord(); - currentStrategyIndex = 0; + currentStrategyIndex = -1; stopLoss = 0; positionRate = 0; positionSize = 0;