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