diff options
author | Piyush Dixit <79581397+PiyushDixit96@users.noreply.github.com> | 2021-05-21 06:12:45 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-21 06:12:45 +0530 |
commit | 239868d123d1c61f3b75c4bb2fb626f444e111c7 (patch) | |
tree | 5d7c77d9e9df858ec9d3b64bd3637f8bb762e7d7 | |
parent | e7f542eaebd286c91c669319bee4ca7528397c01 (diff) |
Update index.js
-rw-r--r-- | index.js | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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}`
}
|