Commit 7515fd0f by rongjun

bug

parent a3409b4e
...@@ -437,9 +437,9 @@ class PyCTP_Trader_API(PyCTP.CThostFtdcTraderApi): ...@@ -437,9 +437,9 @@ class PyCTP_Trader_API(PyCTP.CThostFtdcTraderApi):
""" """
sys.stderr.write('前置连接中断: %s' % hex(nReason)) sys.stderr.write('前置连接中断: %s' % hex(nReason))
# 登陆状态时掉线, 自动重登陆 # 登陆状态时掉线, 自动重登陆
# if self.__isLogined: if self.__isLogined:
# self.__Inst_Interval() self.__Inst_Interval()
# sys.stderr.write('自动登陆: %d' % self.Login(self.__BrokerID, self.__UserID, self.__Password)) sys.stderr.write('自动登陆: %d' % self.Login(self.__BrokerID, self.__UserID, self.__Password))
def OnRspUserLogin(self, RspUserLogin, RspInfo, RequestID, IsLast): def OnRspUserLogin(self, RspUserLogin, RspInfo, RequestID, IsLast):
""" 登录请求响应 """ """ 登录请求响应 """
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment