修复CTP接口中,行情服务器登出时对于接口状态变化的bug(其实实际应用中不会触发)
This commit is contained in:
parent
5f7cc9b707
commit
c363438b9d
@ -289,7 +289,7 @@ class CtpMdApi(MdApi):
|
||||
# 如果登出成功,推送日志信息
|
||||
if error['ErrorID'] == 0:
|
||||
self.loginStatus = False
|
||||
self.gateway.tdConnected = False
|
||||
self.gateway.mdConnected = False
|
||||
|
||||
log = VtLogData()
|
||||
log.gatewayName = self.gatewayName
|
||||
|
Loading…
Reference in New Issue
Block a user