修复 套利合约被过滤的bug
This commit is contained in:
parent
b61ea15a86
commit
a4a0a31536
@ -376,8 +376,8 @@ class CtpMdApi(MdApi):
|
||||
def onRtnDepthMarketData(self, data):
|
||||
"""行情推送"""
|
||||
# 忽略成交量为0的无效tick数据
|
||||
if not data['Volume']:
|
||||
return
|
||||
#if not data['Volume']:
|
||||
# return
|
||||
|
||||
tick = VtTickData()
|
||||
tick.gatewayName = self.gatewayName
|
||||
|
Loading…
Reference in New Issue
Block a user