Bug Fixed

This commit is contained in:
Luis Fernando Molina committed 2019-06-08 08:48:08 +02:00
1 parent b73ed023b7
commit e18dab3e00
1 file changed
+2 -2
+2 -2
View File
@@ -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;