[Fix]Close #1089
This commit is contained in:
parent
d5f09bdf33
commit
904895899a
@ -364,6 +364,7 @@ class WebsocketApi(BitmexWebsocketApi):
|
||||
tick.date = date.replace('-', '')
|
||||
tick.time = time.replace('Z', '')
|
||||
|
||||
tick = copy(tick)
|
||||
self.gateway.onTick(tick)
|
||||
|
||||
#----------------------------------------------------------------------
|
||||
@ -388,6 +389,7 @@ class WebsocketApi(BitmexWebsocketApi):
|
||||
tick.date = date.replace('-', '')
|
||||
tick.time = time.replace('Z', '')
|
||||
|
||||
tick = copy(tick)
|
||||
self.gateway.onTick(tick)
|
||||
|
||||
#----------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user