From bc2060868190d813460c2b332be7f5ee412a7df4 Mon Sep 17 00:00:00 2001 From: "vn.py" Date: Wed, 29 Nov 2017 17:57:41 +0800 Subject: [PATCH] =?UTF-8?q?[Del]=E7=A7=BB=E9=99=A4secGateway=E4=B8=AD?= =?UTF-8?q?=E7=9A=84=E6=B5=8B=E8=AF=95=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/ShcifcoDataService/config.json | 8 +++++--- vnpy/trader/gateway/secGateway/secGateway.py | 6 ------ 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/examples/ShcifcoDataService/config.json b/examples/ShcifcoDataService/config.json index 1a2d5bf2..7523143f 100644 --- a/examples/ShcifcoDataService/config.json +++ b/examples/ShcifcoDataService/config.json @@ -4,8 +4,10 @@ "SHCIFCO_IP": "180.169.126.123", "SHCIFCO_PORT": "45065", - "SHCIFCO_TOKEN": "vip001d179e4a3e8122cd77eb4b2d22384e4a6", + "SHCIFCO_TOKEN": "请联系上海中期申请", - "SYMBOLS": ["cu1712", "cu1801", "cu1802", "cu1803", - "m1712", "m1801", "m1802", "m1803"] + "SYMBOLS": ["cu1707", "cu1708", "cu1709", "cu1712", + "m1707", "m1708", "m1709", "m1712", + "SR801", "SR803", + "IF1701"] } \ No newline at end of file diff --git a/vnpy/trader/gateway/secGateway/secGateway.py b/vnpy/trader/gateway/secGateway/secGateway.py index f75cc25a..deae0611 100644 --- a/vnpy/trader/gateway/secGateway/secGateway.py +++ b/vnpy/trader/gateway/secGateway/secGateway.py @@ -1208,12 +1208,6 @@ class SecTdApi(TdApi): #---------------------------------------------------------------------- def onRspSOPQryContactInfo(self, data, error, flag): """期权合约查询回报""" - print '-' * 20 - l = data.keys() - l.sort() - for k in l: - print k, data[k] - if not data: return