Improving error message
This commit is contained in:
1 parent
a6ceb4550e
commit
ddbbf72f24
1 file changed
+6
-1
+6
-1
@@ -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."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user