1 setup 安装
C:\work\python\rqalpha\setup.py
install
C:\work\python\rqalpha
2 mod list 列出mod
C:\work\python\rqalpha\rqalpha-script.py
mod list
C:\work\python\rqalpha
3 update-bundle 下载日线级数据
C:\work\python\rqalpha\rqalpha-script.py
update-bundle
C:\work\python\rqalpha
4 buy_and_hold 回测范例
C:\work\python\rqalpha\rqalpha-script.py
run -f C:\work\python\rqalpha\rqalpha\examples\buy_and_hold.py -s 2017-01-01 -e 2017-06-01 --account stock 100000 –plot
C:\work\python\rqalpha
来源:https://www.cnblogs.com/luhouxiang/p/11628162.html