Update TradingExecution.js

This commit is contained in:
Luis Fernando Molina committed 2020-07-21 17:02:10 +02:00
1 parent 95e16c7ab7
commit c09957b529
1 file changed
+1 -1
+1 -1
View File
@@ -341,7 +341,7 @@ exports.newTradingExecution = function newTradingExecution(bot, logger, tradingE
/* Percentage Filled */
let currentPercentageFilled = tradingEngineOrder.orderStatistics.percentageFilled.value
let percentageFilled = order.filled * 100 / (order.filled + order.remaining)
percentageFilled = global.PRECISE(percentageFilled.value, 10)
percentageFilled = global.PRECISE(percentageFilled, 10)
tradingEngineOrder.orderStatistics.percentageFilled.value = percentageFilled
/* Filled Size Calculation */