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

Traceback (most recent call last):
File "T:\vnstudio\lib\site-packages\vnpy\app\csv_loader\ui\widget.py", line 124, in load_data
datetime_format
File "T:\vnstudio\lib\site-packages\vnpy\app\csv_loader\engine.py", line 137, in load
datetime_format=datetime_format,
File "T:\vnstudio\lib\site-packages\vnpy\app\csv_loader\engine.py", line 79, in load_by_handle
dt = datetime.strptime(item[datetime_head], datetime_format)
KeyError: 'Datetime'

Administrator
avatar
加入于:
帖子: 3810
声望: 199

你的CSV文件,日期时间戳那一列,表头是什么就把Datetime改成什么,注意下面的日期格式也要匹配

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