Cuizi7

Results 4 issues of Cuizi7

增加更新 bundle 的函数入口以在python脚本中触发 bundle 更新,如: ```python from rqalpha import download_bundle, update_bundle download_bundle(xxx) update_bundle(xxx) ```

feature

分离数据和交易部分,在使用 rqalpha-mod-vnpy 的时候数据和事件不一定要通过 vnpy 获得,应允许替换数据源和事件源。

enhancement

运行 tests/test_api.py 中的 test_000001() 会报出如下错误(rqalpha也是因为该错误不能通过测试),修改后该错误不再出现,虽然我非常疑惑为什么会这样。。。 ``` Traceback (most recent call last): File "/Users/cuiziqi/anaconda3/envs/rqa/lib/python3.4/site-packages/talib/__init__.py", line 20, in wrapper for arg in chain(args, kwargs.values()) StopIteration During handling of the above exception, another...