Răsfoiți Sursa

表格结构整理

龚成明 2 ani în urmă
părinte
comite
7e55ca6a98
1 a modificat fișierele cu 3 adăugiri și 3 ștergeri
  1. 3 3
      scripts/one-pro.js

+ 3 - 3
scripts/one-pro.js

@@ -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 logger = task.logger
   const tokenMap = context.tokenMap
@@ -76,8 +76,8 @@ const showInfo = function(context, task) {
       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 = (() => {