This commit is contained in:
vn.py 2018-05-07 23:32:46 +08:00
parent a2180e48ee
commit 2dc61c1e4f

View File

@ -55,7 +55,8 @@ def runChildProcess():
me.connect('CTP')
le.info(u'连接CTP接口')
sleep(10) # 等待CTP接口初始化
sleep(10) # 等待CTP接口初始化
me.dataEngine.saveContracts() # 保存合约信息到文件
cta = me.getApp(ctaStrategy.appName)