ricequant / rqalpha-mod-vnpy

RQAlpha 对接 vnpy 的扩展 Mod。通过启用该 Mod 来实现期货策略的实盘交易
Apache License 2.0
298 stars 59 forks source link

最新版本rqalpha 出错 ImportError: No module named account #25

Closed conglin closed 7 years ago

conglin commented 7 years ago

2017-07-01 07:24:33.00 ERROR No module named account [2017-07-01 07:24:33.068771] ERROR: system_log: 策略运行产生异常 Traceback (most recent call last): File "//anaconda/lib/python2.7/site-packages/rqalpha/main.py", line 195, in run mod_handler.start_up() File "//anaconda/lib/python2.7/site-packages/rqalpha/mod/init.py", line 68, in start_up self._mod_dict[mod_name].start_up(self._env, mod_config) File "//anaconda/lib/python2.7/site-packages/rqalpha_mod_vnpy/mod.py", line 34, in start_up from .vnpy_broker import VNPYBroker File "//anaconda/lib/python2.7/site-packages/rqalpha_mod_vnpy/vnpy_broker.py", line 20, in from rqalpha.model.account import BenchmarkAccount, FutureAccount ImportError: No module named account

conglin commented 7 years ago

@Cuizi7

conglin commented 7 years ago

安装哪个rqalpha 版本能运行? ubuntu中的image是哪个版本?

Cuizi7 commented 7 years ago

vnpy mod已不再维护。不适配新版本rqalpha 和 vnpy。 欢迎移步至 https://github.com/ricequant/rqalpha-mod-ctp

conglin commented 7 years ago

谢谢 快速回复 :)