[Add] OesGateway: 成功连接到行情服务器的提示

This commit is contained in:
nanoric 2019-03-14 23:09:53 -04:00
parent 5f5bf06e53
commit 71d34d5854

View File

@ -100,6 +100,7 @@ class OesGateway(BaseGateway):
self.md_api.username = username self.md_api.username = username
self.md_api.password = password self.md_api.password = password
if self.md_api.connect(): if self.md_api.connect():
self.write_log(_("成功连接到行情服务器"))
self.md_api.start() self.md_api.start()
else: else:
self.write_log(_("无法连接到行情服务器,请检查你的配置")) self.write_log(_("无法连接到行情服务器,请检查你的配置"))