[Mod] change default value of brokerid

This commit is contained in:
vn.py 2019-06-29 08:50:06 +08:00
parent fcaec7d838
commit 3b1b8d9ffa
2 changed files with 4 additions and 4 deletions

View File

@ -233,7 +233,7 @@ class CtpMdApi(MdApi):
self.userid = ""
self.password = ""
self.brokerid = 0
self.brokerid = ""
def onFrontConnected(self):
"""
@ -378,7 +378,7 @@ class CtpTdApi(TdApi):
self.userid = ""
self.password = ""
self.brokerid = 0
self.brokerid = ""
self.auth_code = ""
self.appid = ""
self.product_info = ""

View File

@ -233,7 +233,7 @@ class CtpMdApi(MdApi):
self.userid = ""
self.password = ""
self.brokerid = 0
self.brokerid = ""
def onFrontConnected(self):
"""
@ -377,7 +377,7 @@ class CtpTdApi(TdApi):
self.userid = ""
self.password = ""
self.brokerid = 0
self.brokerid = ""
self.auth_code = ""
self.appid = ""
self.product_info = ""