|
|
@@ -37,7 +37,7 @@ module.exports = class Token {
|
|
|
|
|
|
this.orderAmount = localData.orderAmount
|
|
|
this.orderPrice = localData.orderPrice
|
|
|
- this.orderTime = localData.orderTime
|
|
|
+ this.orderTime = localData.orderTime ? localData.orderTime : 0
|
|
|
this.nextHandleTime = localData.nextHandleTime
|
|
|
} catch (e) {}
|
|
|
}
|
|
|
@@ -59,7 +59,7 @@ module.exports = class Token {
|
|
|
|
|
|
context.tokenMap[tokenHash] = token
|
|
|
|
|
|
- logger.info(`${token.exchange.pair}初始化完毕,orderPrice:${token.orderPrice}, orderAmount:${token.orderAmount}.`)
|
|
|
+ logger.info(`${token.exchange.pair}初始化完毕,orderPrice:${token.orderPrice}, orderAmount:${token.orderAmount}, orderTime:${token.orderTime}.`)
|
|
|
}
|
|
|
|
|
|
static async batchInit(context, logger, ierc20TokenAddressList, priceTickFilterMap, lotSizeFilterMap) {
|