From 678ada2fb85f231ee89fd19fe288999e9e1293b0 Mon Sep 17 00:00:00 2001 From: "vn.py" Date: Wed, 31 Jan 2018 22:03:27 +0800 Subject: [PATCH] [Fix]Close #713 --- examples/VnTrader/run.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/VnTrader/run.py b/examples/VnTrader/run.py index 5d0188e4..5e632364 100644 --- a/examples/VnTrader/run.py +++ b/examples/VnTrader/run.py @@ -17,7 +17,7 @@ from vnpy.trader.uiMainWindow import MainWindow # 加载底层接口 from vnpy.trader.gateway import (ctpGateway, oandaGateway, - ibGateway, xtpGateway) + ibGateway) if system == 'Windows': from vnpy.trader.gateway import (femasGateway, xspeedGateway, @@ -43,7 +43,6 @@ def main(): me.addGateway(ctpGateway) me.addGateway(oandaGateway) me.addGateway(ibGateway) - me.addGateway(xtpGateway) if system == 'Windows': me.addGateway(femasGateway)