AttributeError: 'PyCTP_Trader' object has no attribute 'OnRtnInstrumentStatus'
我用anaconda3 64位 Python 3.5 +vs2017 编译,运行test_PyCTP.py时会出现如标题错误。

我也是 我在vs2017+python3.8 64位编译,运行也这样报错
此错误不影响运行,要屏蔽此信息,只需实现提示的方法即可
Sent from my Mi phone On NeverWang999 [email protected], Dec 30, 2019 9:57 AM wrote:
我也是 我在vs2017+python3.8 64位编译,运行也这样报错
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/shizhuolin/PyCTP/issues/9?email_source=notifications&email_token=AA5I67635CNDW7DW4YZ6EVLQ3FIRRA5CNFSM4FQ43AQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHZNMXQ#issuecomment-569562718, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA5I672732E5IB7IOWB7ULDQ3FIRRANCNFSM4FQ43AQQ.
感谢您的回复,那这个错误 AttributeError: 'PyCTP_Trader' object has no attribute _PyCTP_Trader_API__BrokerID‘怎么解决,我没改你的test文件代码。
不用解决,建议重写test, 此test太久不符合新的穿透和认证版本
Sent from my Mi phone Dec 31, 2019 1:45 PM wrote on NeverWang999 [email protected]:
感谢您的回复,那这个错误 AttributeError: 'PyCTP_Trader' object has no attribute _PyCTP_Trader_API__BrokerID‘怎么解决,我没改你的test文件代码。
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/shizhuolin/PyCTP/issues/9?email_source=notifications&email_token=AA5I676Y65FF7NSO4DIB3KLQ3LMA7A5CNFSM4FQ43AQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEH3YCJI#issuecomment-569868581, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA5I672RJYUWNANHT55NUWTQ3LMA7ANCNFSM4FQ43AQQ.