Browse Source

加入depth日志

skyfffire 2 years ago
parent
commit
be143862cc
1 changed files with 2 additions and 0 deletions
  1. 2 0
      quant.py

+ 2 - 0
quant.py

@@ -16,6 +16,7 @@ import psutil
 import ujson
 import broker
 from decimal import Decimal
+from loguru import logger
 
 VERSION = utils.VERSION
 
@@ -581,6 +582,7 @@ class Quant:
 
     # @utils.timeit
     async def _update_depth(self, data):
+        logger.info(data)
         '''
             update orderbook infomation
         '''