龚成明 2 年 前
コミット
463349043a
1 ファイル変更1 行追加1 行削除
  1. 1 1
      scripts/one-pro.js

+ 1 - 1
scripts/one-pro.js

@@ -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') {