From a4a0a315360310f79159cfe6c4c0f12740238398 Mon Sep 17 00:00:00 2001 From: msincenselee Date: Fri, 16 Jun 2017 13:43:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E5=A5=97=E5=88=A9?= =?UTF-8?q?=E5=90=88=E7=BA=A6=E8=A2=AB=E8=BF=87=E6=BB=A4=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vnpy/trader/gateway/ctpGateway/ctpGateway.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vnpy/trader/gateway/ctpGateway/ctpGateway.py b/vnpy/trader/gateway/ctpGateway/ctpGateway.py index 5d22dc73..316a6859 100644 --- a/vnpy/trader/gateway/ctpGateway/ctpGateway.py +++ b/vnpy/trader/gateway/ctpGateway/ctpGateway.py @@ -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