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