You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "D:/workspace/test_PyCTP.py", line 446, in OnRspUserLogin
self.__OrderRef = int(self.__MaxOrderRef) # 初始化报单引用
ValueError: invalid literal for int() with base 10: b''
发现 是 int 时候有问题
但是加入了
if self.__MaxOrderRef == b'':
self.__OrderRef = 0
还是无法初始化成功 请问如何解决啊
出现 : ctp 不合法登录
The text was updated successfully, but these errors were encountered:
穿透式API market没问题,Trader 初始化总是有问题。
python37 win10 64位
编译成功
编码问题全部解决
v6.3.15_20190220 版本的api
采用 test_PyCTP脚本测试 market 可以联通和订阅行情 但是 trader 无法初始化
报告错误如下:
发现 是 int 时候有问题
但是加入了
还是无法初始化成功 请问如何解决啊
出现 : ctp 不合法登录
The text was updated successfully, but these errors were encountered: