summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiyush Dixit <79581397+PiyushDixit96@users.noreply.github.com>2021-09-20 09:21:43 +0530
committerGitHub <noreply@github.com>2021-09-20 09:21:43 +0530
commit8212a86fc9e5ca676606884f27689f3b0564db3c (patch)
tree9ab157e42592a33e2349148b5e1b3bae3d20c830
parent39c128dae1396e88d5cebb63f4be1bfd659d7a97 (diff)
Update index.js
-rw-r--r--index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.js b/index.js
index ae7f7b9..e4ffb71 100644
--- a/index.js
+++ b/index.js
@@ -96,7 +96,7 @@ function process_data(data) {
}
} else if (orderStatus === 'REJECTED') {
if (orderType === "MARKET") {
- txt = `🚫 🚫 🚫\n<b>Spot ${orderType} ${side} Order CREATED</b>\n<b>Symbol:</b> #${symbol}\n<b>Quantity:</b> ${fixFloat(quantity)}\n<b>Order ID:</b> #ID${orderId}\n<b>Order reject reason:</b> #ID${Order_reject_reason}`
+ txt = `🚫 🚫 🚫\n<b>Spot ${orderType} ${side} Order REJECTED</b>\n<b>Symbol:</b> #${symbol}\n<b>Quantity:</b> ${fixFloat(quantity)}\n<b>Order ID:</b> #ID${orderId}\n<b>Order reject reason:</b> #ID${Order_reject_reason}`
}else {
txt = `🚫 🚫 🚫\n<b>Spot ${orderType} ${side} Order REJECTED</b>\n<b>Symbol:</b> #${symbol}\n<b>Price:</b> ${price}\n<b>Quantity:</b> ${fixFloat(quantity)}${total}\n<b>Order ID:</b> #ID${orderId}\n<b>Order reject reason:</b> #ID${Order_reject_reason}`
}