码迷,mamicode.com
首页 > 其他好文 > 详细

rqalpha学习-1

时间:2019-10-06 20:38:29      阅读:123      评论:0      收藏:0      [点我收藏+]

标签:date   logs   python   splay   idt   tle   href   alt   cli   

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

技术图片

rqalpha学习-1

标签:date   logs   python   splay   idt   tle   href   alt   cli   

原文地址:https://www.cnblogs.com/luhouxiang/p/11628162.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!