VeighNa量化社区
你的开源社区量化交易平台
Member
avatar
加入于:
帖子: 1
声望: 0

Traceback (most recent call last):
File "C:\vnstudio\lib\site-packages\vnstation\cli.py", line 71, in run_trader
module = importlib.import_module(d["module"])
File "C:\vnstudio\lib\importlib__init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "C:\vnstudio\lib\site-packages\vnpy\gateway\sopt\
init.py", line 1, in <module>
from .sopt_gateway import SoptGateway
File "C:\vnstudio\lib\site-packages\vnpy\gateway\sopt\sopt_gateway.py", line 6, in <module>
from vnpy.api.sopt import (
File "C:\vnstudio\lib\site-packages\vnpy\api\sopt\
init__.py", line 1, in <module>
from .vnsoptmd import MdApi
ImportError: DLL load failed: 找不到指定的程序。
各位大佬,一添加期权接口就这个报错,怎么解决额?

Administrator
avatar
加入于:
帖子: 4541
声望: 324

去掉CTP/CTPTEST/MINI/MINITEST接口的加载就行了,因为都是CTP公司提供的接口,同时只能加载一个,否则会冲突

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

沪公网安备 31011502017034号

【用户协议】
【隐私政策】
【免责条款】