vn.py量化社区
By Traders, For Traders.
Member
avatar
加入于:
帖子: 27
声望: 0

Traceback (most recent call last):
File "c:\vnstudio\lib\site-packages\vnpy\trader\ui\widget.py", line 893, in send_order
self.main_engine.send_order(req, gateway_name)
File "c:\vnstudio\lib\site-packages\vnpy\app\risk_manager\engine.py", line 58, in send_order
return self._send_order(req, gateway_name)
File "c:\vnstudio\lib\site-packages\vnpy\trader\engine.py", line 182, in send_order
return gateway.send_order(req)
File "c:\vnstudio\lib\site-packages\vnpy\gateway\sopttest\sopttest_gateway.py", line 176, in send_order
return self.td_api.send_order(req)
File "c:\vnstudio\lib\site-packages\vnpy\gateway\sopttest\sopttest_gateway.py", line 795, in send_order
self.reqOrderInsert(sopt_req, self.reqid)
ValueError: Cannot convert empty string to a character

Member
avatar
加入于:
帖子: 27
声望: 0

发送stop指令也抛出异常
Traceback (most recent call last):
File "c:\vnstudio\lib\site-packages\vnpy\trader\ui\widget.py", line 893, in send_order
self.main_engine.send_order(req, gateway_name)
File "c:\vnstudio\lib\site-packages\vnpy\app\risk_manager\engine.py", line 58, in send_order
return self._send_order(req, gateway_name)
File "c:\vnstudio\lib\site-packages\vnpy\trader\engine.py", line 182, in send_order
return gateway.send_order(req)
File "c:\vnstudio\lib\site-packages\vnpy\gateway\sopttest\sopttest_gateway.py", line 176, in send_order
return self.td_api.send_order(req)
File "c:\vnstudio\lib\site-packages\vnpy\gateway\sopttest\sopttest_gateway.py", line 795, in send_order
self.reqOrderInsert(sopt_req, self.reqid)
ValueError: Cannot convert empty string to a character

Administrator
avatar
加入于:
帖子: 4430
声望: 253

询价目前只支持了CTP期货接口,另外停止单统一国内接口都不支持

Member
avatar
加入于:
帖子: 27
声望: 0

能否在架构上完善这些功能设计,只显示该接口能够支持的功能?

Administrator
avatar
加入于:
帖子: 4430
声望: 253

好建议,我们后续来支持下

© 2015-2019 上海韦纳软件科技有限公司
备案服务号:沪ICP备18006526号-3

沪公网安备 31011502017034号