Selaa lähdekoodia

废弃日志处理

龚成明 2 vuotta sitten
vanhempi
commit
d4494b52d3
1 muutettua tiedostoa jossa 0 lisäystä ja 4 poistoa
  1. 0 4
      scripts/one-pro.js

+ 0 - 4
scripts/one-pro.js

@@ -37,8 +37,6 @@ const orderHandler = async function(context, task) {
             fileLogger.info(`[止盈]${pair}, price: ${token.orderPrice}->${price}, amount: ${token.orderAmount}.`)
             token.orderPrice = undefined
             token.nextHandleTime = new Date().getTime() + Config.stopWinHandleSpaceHours * (60 * 60 * 1000)
-
-            fileLogger.info(`[订单]${pair}, volume:${cummulativeQuoteQty}, 买入${executedQty}, 均价${token.orderPrice}.`)
           } else {
             token.orderPrice = undefined
             token.nextHandleTime = new Date().getTime() + Config.stopWinHandleSpaceHours * (60 * 60 * 1000)
@@ -60,8 +58,6 @@ const orderHandler = async function(context, task) {
             fileLogger.info(`[止损]${pair}, price: ${token.orderPrice}->${price}, amount: ${token.orderAmount}.`)
             token.orderPrice = undefined
             token.nextHandleTime = new Date().getTime() + Config.stopLossHandleSpaceHours * (60 * 60 * 1000)
-
-            fileLogger.info(`[订单]${pair}, volume:${cummulativeQuoteQty}, 买入${executedQty}, 均价${token.orderPrice}.`)
           } else {
             token.orderPrice = undefined
             token.nextHandleTime = new Date().getTime() + Config.stopLossHandleSpaceHours * (60 * 60 * 1000)