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

Traceback (most recent call last):
File "C:\vnstudio\lib\site-packages\vnpy\trader\ui\widget.py", line 858, 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 173, in send_order
return gateway.send_order(req)
File "C:\vnstudio\lib\site-packages\vnpy\gateway\ctp\ctp_gateway.py", line 174, in send_order
return self.td_api.send_order(req)
File "C:\vnstudio\lib\site-packages\vnpy\gateway\ctp\ctp_gateway.py", line 755, in send_order
self.reqOrderInsert(ctp_req, self.reqid)
ValueError: Cannot convert empty string to a character

Administrator
avatar
加入于:
帖子: 4028
声望: 221

有某个委托请求的参数字段没填导致的,图形界面上所有的委托参数都要选择对应的值

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