|
@@ -53,7 +53,7 @@ const orderHandler = function(context, task) {
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-const table = new TableKit(['pair', 'binance', 'order price', 'profit', 'next time', 'percentage'], 20)
|
|
|
|
|
|
|
+const table = new TableKit(['pair', '1inch', 'binance', 'order price', 'profit(%)', 'next time'], 20)
|
|
|
const showInfo = function(context, task) {
|
|
const showInfo = function(context, task) {
|
|
|
const logger = task.logger
|
|
const logger = task.logger
|
|
|
const tokenMap = context.tokenMap
|
|
const tokenMap = context.tokenMap
|
|
@@ -76,8 +76,8 @@ const showInfo = function(context, task) {
|
|
|
return OneInchPrice && BinancePrice
|
|
return OneInchPrice && BinancePrice
|
|
|
})()
|
|
})()
|
|
|
|
|
|
|
|
- const rows = [pair.toString(), BinancePrice.toString(), orderPrice.toString(),
|
|
|
|
|
- orderPercentage.toString().concat('%'), nextTimeStr, percentage.toString().concat('%')]
|
|
|
|
|
|
|
+ const rows = [pair.toString(), OneInchPrice.toString(), BinancePrice.toString(),
|
|
|
|
|
+ orderPrice.toString(), orderPercentage.toString(), nextTimeStr]
|
|
|
|
|
|
|
|
// 识别到在拉盘
|
|
// 识别到在拉盘
|
|
|
token.isLong = (() => {
|
|
token.isLong = (() => {
|