From 39c128dae1396e88d5cebb63f4be1bfd659d7a97 Mon Sep 17 00:00:00 2001 From: Piyush Dixit <79581397+PiyushDixit96@users.noreply.github.com> Date: Mon, 20 Sep 2021 08:28:51 +0530 Subject: Update index.js --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 10e1115..ae7f7b9 100644 --- a/index.js +++ b/index.js @@ -96,7 +96,7 @@ function process_data(data) { } } else if (orderStatus === 'REJECTED') { if (orderType === "MARKET") { - txt = 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 CREATED\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