从VnTrader的run.py中移除默认添加的sgit和shzd接口

This commit is contained in:
vn.py 2017-09-04 09:20:26 +08:00
parent 09e0f7af7f
commit b32203366b
3 changed files with 1 additions and 19 deletions

View File

@ -1,7 +0,0 @@
{
"brokerID": "9999",
"tdAddress": "tcp://140.206.81.6:37776",
"password": "888888",
"mdAddress": "tcp://140.206.81.6:37777",
"userID": "0600035"
}

View File

@ -1,8 +0,0 @@
{
"frontAddress": "222.73.119.230",
"frontPort": 7003,
"marketAddress": "222.73.119.230",
"marketPort": 9003,
"userId": "demo000604",
"userPwd": "888888"
}

View File

@ -20,8 +20,7 @@ from vnpy.trader.gateway import (ctpGateway, oandaGateway, ibGateway,
huobiGateway, okcoinGateway) huobiGateway, okcoinGateway)
if system == 'Windows': if system == 'Windows':
from vnpy.trader.gateway import (femasGateway, xspeedGateway, from vnpy.trader.gateway import femasGateway, xspeedGateway
sgitGateway, shzdGateway)
if system == 'Linux': if system == 'Linux':
from vnpy.trader.gateway import xtpGateway from vnpy.trader.gateway import xtpGateway
@ -52,8 +51,6 @@ def main():
if system == 'Windows': if system == 'Windows':
me.addGateway(femasGateway) me.addGateway(femasGateway)
me.addGateway(xspeedGateway) me.addGateway(xspeedGateway)
me.addGateway(sgitGateway)
me.addGateway(shzdGateway)
if system == 'Linux': if system == 'Linux':
me.addGateway(xtpGateway) me.addGateway(xtpGateway)