浏览代码

update_depth的日志挂上。

skyfffire 2 年之前
父节点
当前提交
00582cb3d9
共有 2 个文件被更改,包括 1 次插入2 次删除
  1. 0 1
      exchange/binance_usdt_swap_ws.py
  2. 1 1
      quant.py

+ 0 - 1
exchange/binance_usdt_swap_ws.py

@@ -200,7 +200,6 @@ class BinanceUsdtSwapWs:
 
     # @timeit
     def _update_depth20(self, msg):
-        logger.info(msg)
         self.public_update_time = time.time()
         msg = ujson.loads(msg)
         if self._check_update_u(msg['u']):

+ 1 - 1
quant.py

@@ -583,7 +583,7 @@ class Quant:
 
     # @utils.timeit
     async def _update_depth(self, data):
-        # logger.info(data)
+        logger.info(data)
         '''
             update orderbook infomation
         '''