修复CTP接口中,行情服务器登出时对于接口状态变化的bug(其实实际应用中不会触发)

This commit is contained in:
chenxy123 2016-07-31 21:53:02 +08:00
parent 5f7cc9b707
commit c363438b9d

View File

@ -289,7 +289,7 @@ class CtpMdApi(MdApi):
# 如果登出成功,推送日志信息 # 如果登出成功,推送日志信息
if error['ErrorID'] == 0: if error['ErrorID'] == 0:
self.loginStatus = False self.loginStatus = False
self.gateway.tdConnected = False self.gateway.mdConnected = False
log = VtLogData() log = VtLogData()
log.gatewayName = self.gatewayName log.gatewayName = self.gatewayName