龚成明 2 years ago
parent
commit
38c6229c3a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      scripts/one-pro.js

+ 2 - 2
scripts/one-pro.js

@@ -42,7 +42,7 @@ const orderHandler = function(context, task) {
   })
 }
 
-const table = new TableKit(['pair', 'binance', 'order price', '%'], 25)
+const table = new TableKit(['pair', 'binance', 'order price', 'profit'], 25)
 
 const pricesHandler = function(context, task) {
   const logger = task.logger
@@ -66,7 +66,7 @@ const pricesHandler = function(context, task) {
     //
     // })()) return
 
-    const rows = [pair.toString(), BinancePrice.toString(), orderPrice.toString(), orderPercentage.toString()]
+    const rows = [pair.toString(), BinancePrice.toString(), orderPrice.toString(), orderPercentage.toString().concat('%')]
 
     // 识别到在拉盘
     token.isLong = (() => {