From b32203366be23a1e9fdf882b0c4d3b21117ce68b Mon Sep 17 00:00:00 2001 From: "vn.py" Date: Mon, 4 Sep 2017 09:20:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=8EVnTrader=E7=9A=84run.py=E4=B8=AD?= =?UTF-8?q?=E7=A7=BB=E9=99=A4=E9=BB=98=E8=AE=A4=E6=B7=BB=E5=8A=A0=E7=9A=84?= =?UTF-8?q?sgit=E5=92=8Cshzd=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/VnTrader/SGIT_connect.json | 7 ------- examples/VnTrader/SHZD_connect.json | 8 -------- examples/VnTrader/run.py | 5 +---- 3 files changed, 1 insertion(+), 19 deletions(-) delete mode 100644 examples/VnTrader/SGIT_connect.json delete mode 100644 examples/VnTrader/SHZD_connect.json diff --git a/examples/VnTrader/SGIT_connect.json b/examples/VnTrader/SGIT_connect.json deleted file mode 100644 index a6925448..00000000 --- a/examples/VnTrader/SGIT_connect.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "brokerID": "9999", - "tdAddress": "tcp://140.206.81.6:37776", - "password": "888888", - "mdAddress": "tcp://140.206.81.6:37777", - "userID": "0600035" -} \ No newline at end of file diff --git a/examples/VnTrader/SHZD_connect.json b/examples/VnTrader/SHZD_connect.json deleted file mode 100644 index 0bf3746e..00000000 --- a/examples/VnTrader/SHZD_connect.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "frontAddress": "222.73.119.230", - "frontPort": 7003, - "marketAddress": "222.73.119.230", - "marketPort": 9003, - "userId": "demo000604", - "userPwd": "888888" -} \ No newline at end of file diff --git a/examples/VnTrader/run.py b/examples/VnTrader/run.py index 3199ce23..8c9b45f1 100644 --- a/examples/VnTrader/run.py +++ b/examples/VnTrader/run.py @@ -20,8 +20,7 @@ from vnpy.trader.gateway import (ctpGateway, oandaGateway, ibGateway, huobiGateway, okcoinGateway) if system == 'Windows': - from vnpy.trader.gateway import (femasGateway, xspeedGateway, - sgitGateway, shzdGateway) + from vnpy.trader.gateway import femasGateway, xspeedGateway if system == 'Linux': from vnpy.trader.gateway import xtpGateway @@ -52,8 +51,6 @@ def main(): if system == 'Windows': me.addGateway(femasGateway) me.addGateway(xspeedGateway) - me.addGateway(sgitGateway) - me.addGateway(shzdGateway) if system == 'Linux': me.addGateway(xtpGateway)