From 7df8f56e7ff5ad111025ff5e080d0453a58fcd4d Mon Sep 17 00:00:00 2001 From: msincenselee Date: Tue, 29 May 2018 00:05:19 +0800 Subject: [PATCH] - --- examples/VnTrader/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/VnTrader/run.py b/examples/VnTrader/run.py index 3b6e4a9b..ad06b283 100644 --- a/examples/VnTrader/run.py +++ b/examples/VnTrader/run.py @@ -23,7 +23,7 @@ from vnpy.trader.uiMainWindow import * # 加载底层接口 from vnpy.trader.gateway import ctpGateway # 初始化的接口模块,以及其指定的名称,CTP是模块,value,是该模块下的多个连接配置文件,如 CTP_JR_connect.json 'CTP_Prod', 'CTP_JR', , 'CTP_JK', 'CTP_02' -init_gateway_names = {'CTP': ['CTP','CTP_YH01', 'CTP_YH02', 'CTP_YH03','CTP_JK']} +init_gateway_names = {'CTP': ['CTP','CTP_huafu001','CTP_huafu002']} from vnpy.trader.app import (ctaStrategy, riskManager, spreadTrading)