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

description

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

Traceback (most recent call last):
File "C:\Miniconda3\envs\financial-analysis\lib\site-packages\vnpy_chartwizard\ui\widget.py", line 141, in process_history_event
chart.update_history(history)
File "C:\vnpy3.2.0\vnpy\chart\widget.py", line 160, in update_history
self._manager.update_history(history)
File "C:\vnpy3.2.0\vnpy\chart\manager.py", line 31, in update_history
self._bars = dict(sorted(self._bars.items(), key=lambda tp: tp[0]))
TypeError: can't compare offset-naive and offset-aware datetimes

Member
avatar
加入于:
帖子: 1468
声望: 105

时区出错了,用的什么接口获取的合约和行情?

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

自动安装VeighNa3.2.0正常了。

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

沪公网安备 31011502017034号

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