okex 现货和合约深度数据重复修改
okex 现货和合约深度数据重复修改
This commit is contained in:
parent
bc219e4b89
commit
5eab77cc9d
@ -644,7 +644,6 @@ class OkexWebsocketApi(WebsocketClient):
|
||||
|
||||
def on_depth(self, d):
|
||||
""""""
|
||||
for tick_data in d:
|
||||
symbol = d["instrument_id"]
|
||||
tick = self.ticks.get(symbol, None)
|
||||
if not tick:
|
||||
|
@ -709,7 +709,6 @@ class OkexfWebsocketApi(WebsocketClient):
|
||||
|
||||
def on_depth(self, d):
|
||||
""""""
|
||||
for tick_data in d:
|
||||
symbol = d["instrument_id"]
|
||||
tick = self.ticks.get(symbol, None)
|
||||
if not tick:
|
||||
|
Loading…
Reference in New Issue
Block a user