From 8212a86fc9e5ca676606884f27689f3b0564db3c Mon Sep 17 00:00:00 2001
From: Piyush Dixit <79581397+PiyushDixit96@users.noreply.github.com>
Date: Mon, 20 Sep 2021 09:21:43 +0530
Subject: Update index.js
---
index.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 = `🚫 🚫 🚫\nSpot ${orderType} ${side} Order CREATED\nSymbol: #${symbol}\nQuantity: ${fixFloat(quantity)}\nOrder ID: #ID${orderId}\nOrder reject reason: #ID${Order_reject_reason}`
+ txt = `🚫 🚫 🚫\nSpot ${orderType} ${side} Order REJECTED\nSymbol: #${symbol}\nQuantity: ${fixFloat(quantity)}\nOrder ID: #ID${orderId}\nOrder reject reason: #ID${Order_reject_reason}`
}else {
txt = `🚫 🚫 🚫\nSpot ${orderType} ${side} Order REJECTED\nSymbol: #${symbol}\nPrice: ${price}\nQuantity: ${fixFloat(quantity)}${total}\nOrder ID: #ID${orderId}\nOrder reject reason: #ID${Order_reject_reason}`
}
--
cgit v1.2.3