[Fix]futuGateway过滤尚未有datetime的Tick推送

This commit is contained in:
vn.py 2018-01-05 15:16:16 +08:00
parent b486658fb0
commit 9b493d609f

View File

@ -467,6 +467,7 @@ class FutuGateway(VtGateway):
d['askPrice%s' %n] = askData[0]
d['askVolume%s' %n] = askData[1]
if tick.datetime:
newTick = copy(tick)
self.onTick(newTick)