|
|
@@ -88,7 +88,7 @@ const orderHandler = async function(context, task) {
|
|
|
const cummulativeQuoteQty = NumKit.getSubFloat(buyRst.cummulativeQuoteQty, 6)
|
|
|
// 计算扣除手续费后的实际成交数量
|
|
|
let executedQty = 0
|
|
|
- for (const fill of orderRst.fills) {
|
|
|
+ for (const fill of buyRst.fills) {
|
|
|
executedQty += parseFloat(fill.qty)
|
|
|
// 扣除支付的手续费
|
|
|
if (fill.commissionAsset === 'HOOK') {
|