在图形交易界面下,
点"全撤"进行撤单时,出错,提示信息:
Traceback (most recent call last):
File "D:\vnstudio\lib\site-packages\vnpy\trader\ui\widget.py", line 865, in cancel_all
self.main_engine.cancel_order(req, order.gateway_name)
File "D:\vnstudio\lib\site-packages\vnpy\trader\engine.py", line 183, in cancel_order
gateway.cancel_order(req)
File "D:\vnstudio\lib\site-packages\vnpy\gateway\ctptest\ctptest_gateway.py", line 185, in cancel_order
self.td_api.cancel_order(req)
File "D:\vnstudio\lib\site-packages\vnpy\gateway\ctptest\ctptest_gateway.py", line 785, in cancel_order
self.reqOrderAction(ctp_req, self.reqid)
RuntimeError: Unable to cast Python instance to C++ type (compile in debug mode for details)