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

按照《聚宽数据(JDDataSDK)集成方案(试用期长达一年)》(由 tonywang_efun 最后编辑:2019年9月29日 上午8:14)一文的方法,启动VN Station时产生如下问题,请教老师怎么解决,并顺利用上聚宽的数据?

Traceback (most recent call last):
File "C:\vnstudio1001\lib\site-packages\vnstation\cli.py", line 78, in run_trader
module = importlib.import_module(d["module"])
File "C:\vnstudio1001\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:\vnstudio1001\lib\site-packages\vnpy\app\cta_strategy\
init__.py", line 9, in <module>
from .engine import CtaEngine
File "C:\vnstudio1001\lib\site-packages\vnpy\app\cta_strategy\engine.py", line 4
import importlib
^
SyntaxError: invalid character in identifier

敬请老师及时解决问题,不胜感激!解决方法请发一份到我的邮箱:850140260@qq.com

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

那篇文章在哪看到的

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