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

报错如下
2022-11-09 00:25:19 VeighNa Trader进程启动
2022-11-09 00:25:20 Traceback (most recent call last):
File "C:\veighna_studio\lib\runpy.py", line 196, in _run_module_as_main
2022-11-09 00:25:20 return _run_code(code, main_globals, None,
File "C:\veighna_studio\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "build\bdist.win-amd64\egg\veighna_station\trader.py", line 5, in <module>
2022-11-09 00:25:20 File "C:\veighna_studio\lib\site-packages\vnpy\trader\engine.py", line 43, in <module>
from .setting import SETTINGS
File "C:\veighna_studio\lib\site-packages\vnpy\trader\setting.py", line 32, in <module>
"database.timezone": get_localzone_name(),
File "C:\veighna_studio\lib\site-packages\tzlocal\win32.py", line 109, in get_localzone_name
_cache_tz_name = _get_localzone_name()
File "C:\veighna_studio\lib\site-packages\tzlocal\win32.py", line 77, in _get_localzone_name
raise utils.ZoneInfoNotFoundError(tzkeyname)
tzlocal.utils.ZoneInfoNotFoundError: ''
2022-11-09 00:25:20 VeighNa Trader进程终止

Member
avatar
加入于:
帖子: 5078
声望: 306

把.vntrader文件夹里vt_setting.json里的database.timezone改成"Asia/Shanghai"即可

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

沪公网安备 31011502017034号

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