From 239868d123d1c61f3b75c4bb2fb626f444e111c7 Mon Sep 17 00:00:00 2001 From: Piyush Dixit <79581397+PiyushDixit96@users.noreply.github.com> Date: Fri, 21 May 2021 06:12:45 +0530 Subject: Update index.js --- index.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/index.js b/index.js index 0590cde..34205a0 100644 --- a/index.js +++ b/index.js @@ -98,10 +98,7 @@ function process_data(data) { } } else if (executionType === 'TRADE') { if (orderStatus === 'PARTIALLY_FILLED') { - txt = `💰 💰 💰\nSpot ${side} Order PARTIALLY FILLED\nSymbol: #${symbol} Price: ${price} - Last Filled: ${fixFloat(lastTradeQuantity)} - Remaining: ${fixFloat(Number(quantity) - Number(Cumulative_filled_quantity))} - Total: ${total} Order ID: #ID${orderId}` + txt = `💰 💰 💰\nSpot ${side} Order PARTIALLY FILLED\nSymbol: #${symbol}\nPrice: ${price}\nLast Filled: ${fixFloat(lastTradeQuantity)}\nRemaining: ${fixFloat(Number(quantity) - Number(Cumulative_filled_quantity))}\nTotal: ${total}\nOrder ID: #ID${orderId}` } else if (orderStatus === 'FILLED') { txt = `✅ ✅ ✅\nSpot ${side} Order FULLY FILLED\nSymbol: #${symbol}\nPrice: ${price}\nFilled: ${fixFloat(Cumulative_filled_quantity)}\nTotal: ${total}\nOrder ID: #ID${orderId}` } -- cgit v1.2.3