Improving error message

This commit is contained in:
Luis Fernando Molina committed 2019-06-28 22:53:57 +02:00
1 parent a6ceb4550e
commit ddbbf72f24
1 file changed
+6 -1
+6 -1
View File
@@ -805,7 +805,12 @@ exports.newCommons = function newCommons(bot, logger, UTILITIES) {
}
}
} else {
tradingSystem.error = "Balance below the minimum. No more strategies will be executed."
if (balance < minimumBalance) {
tradingSystem.error = "Balance below the minimum."
}
if (balance > maximumBalance) {
tradingSystem.error = "Balance above the maximum."
}
}
}