From 96012e75b2ad3d860ce29761917f170817f8460b Mon Sep 17 00:00:00 2001 From: msincenselee Date: Fri, 5 Jun 2020 14:36:53 +0800 Subject: [PATCH] [bug fix] --- vnpy/gateway/ctp/ctp_gateway.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vnpy/gateway/ctp/ctp_gateway.py b/vnpy/gateway/ctp/ctp_gateway.py index ffbb777f..7e937093 100644 --- a/vnpy/gateway/ctp/ctp_gateway.py +++ b/vnpy/gateway/ctp/ctp_gateway.py @@ -1611,7 +1611,7 @@ class SubMdApi(): tick = TickData(gateway_name=self.gateway_name, exchange=Exchange(d.get('exchange')), - symbol=d.get('symbol'), + symbol=symbol, datetime=dt) d.pop('exchange', None) d.pop('symbol', None)