FIX Message Type
This commit is contained in:
1 parent
616c5e39e4
commit
0ccf80353d
1 file changed
+2
-2
+2
-2
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user