aboutsummaryrefslogtreecommitdiff
path: root/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'index.js')
-rw-r--r--index.js5
1 files changed, 1 insertions, 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 = `💰 💰 💰\n<b>Spot ${side} Order PARTIALLY FILLED</b>\n<b>Symbol:</b> #${symbol} <b>Price:</b> ${price}
- <b>Last Filled:</b> ${fixFloat(lastTradeQuantity)}
- <b>Remaining:</b> ${fixFloat(Number(quantity) - Number(Cumulative_filled_quantity))}
- <b>Total:</b> ${total} <b>Order ID:</b> #ID${orderId}`
+ txt = `💰 💰 💰\n<b>Spot ${side} Order PARTIALLY FILLED</b>\n<b>Symbol:</b> #${symbol}\n<b>Price:</b> ${price}\n<b>Last Filled:</b> ${fixFloat(lastTradeQuantity)}\n<b>Remaining:</b> ${fixFloat(Number(quantity) - Number(Cumulative_filled_quantity))}\n<b>Total:</b> ${total}\n<b>Order ID:</b> #ID${orderId}`
} else if (orderStatus === 'FILLED') {
txt = `✅ ✅ ✅\n<b>Spot ${side} Order FULLY FILLED</b>\n<b>Symbol:</b> #${symbol}\n<b>Price:</b> ${price}\n<b>Filled:</b> ${fixFloat(Cumulative_filled_quantity)}\n<b>Total:</b> ${total}\n<b>Order ID:</b> #ID${orderId}`
}