FIX Message Type

This commit is contained in:
Luis Fernando Molina committed 2019-07-11 18:43:43 +02:00
1 parent 616c5e39e4
commit 0ccf80353d
1 file changed
+2 -2
+2 -2
View File
@@ -1489,9 +1489,9 @@ exports.newCommons = function newCommons(bot, logger, UTILITIES) {
orderId++;
} else {
if (type === '"Close@TakeProfit"' || type === '"Close@StopLoss"') {
messageType = MESSAGE_TYPE.OrderUpdate;
} else {
messageType = MESSAGE_TYPE.OrderClose;
} else {
messageType = MESSAGE_TYPE.OrderUpdate;
}
}