[Fix]Close #833
This commit is contained in:
parent
a2180e48ee
commit
2dc61c1e4f
@ -55,7 +55,8 @@ def runChildProcess():
|
|||||||
me.connect('CTP')
|
me.connect('CTP')
|
||||||
le.info(u'连接CTP接口')
|
le.info(u'连接CTP接口')
|
||||||
|
|
||||||
sleep(10) # 等待CTP接口初始化
|
sleep(10) # 等待CTP接口初始化
|
||||||
|
me.dataEngine.saveContracts() # 保存合约信息到文件
|
||||||
|
|
||||||
cta = me.getApp(ctaStrategy.appName)
|
cta = me.getApp(ctaStrategy.appName)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user