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

到最后运行python run.py时出现如下报错:
(base) ctp@ubuntu:~/vnpy-2.0.1/tests/trader$ python run.py
Traceback (most recent call last):
File "run.py", line 12, in <module>
from vnpy.gateway.tiger import TigerGateway
File "/home/ctp/miniconda3/lib/python3.7/site-packages/vnpy/gateway/tiger/init.py", line 1, in <module>
from .tiger_gateway import TigerGateway
File "/home/ctp/miniconda3/lib/python3.7/site-packages/vnpy/gateway/tiger/tiger_gateway.py", line 22, in <module>
from tigeropen.trade.domain.order import ORDER_STATUS
ImportError: cannot import name 'ORDER_STATUS' from 'tigeropen.trade.domain.order' (/home/ctp/miniconda3/lib/python3.7/site-packages/tigeropen/trade/domain/order.py)
有人解答一下吗?谢谢

Administrator
avatar
加入于:
帖子: 2135
声望: 96

请升级到2.0.6,老虎接口之前升级了

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