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