vn.py官网
开源量化社区
Member
avatar
加入于:
帖子: 18
声望: 1

错误代码如下,有哪位高手帮忙指点一下,先谢了

Traceback (most recent call last):
File "run.py", line 15, in <module>
from vnpy.gateway.uft import UftGateway
File "/home/wang/miniconda3/lib/python3.7/site-packages/vnpy/gateway/uft/init.py", line 1, in <module>
from .uft_gateway import UftGateway
File "/home/wang/miniconda3/lib/python3.7/site-packages/vnpy/gateway/uft/uft_gateway.py", line 9, in <module>
from vnpy.api.uft import (
File "/home/wang/miniconda3/lib/python3.7/site-packages/vnpy/api/uft/init.py", line 3, in <module>
from .vnuftmd import MdApi
ModuleNotFoundError: No module named 'vnpy.api.uft.vnuftmd'

Member
avatar
加入于:
帖子: 470
声望: 25

可以看一下vnpy/api/uft下面有没有vnuftmd文件,没有的话重新安装一下吧。

Member
avatar
加入于:
帖子: 470
声望: 25

uft接口目前只支持windows系统。可参考https://www.vnpy.com/forum/topic/3120-30duo-tao-apijie-kou-huan-pa-man-zu-bu-liao-ni-de-liang-hua-jiao-yi-xu-qiu?page=1#pid11208

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

沪公网安备 31011502017034号