Skip to content

Commit

Permalink
Merge pull request #481 from ricequant/feature/v4
Browse files Browse the repository at this point in the history
Feature/v4
  • Loading branch information
Cuizi7 committed Mar 29, 2020
2 parents 3d1c03a + e6fc6e4 commit bd331cb
Show file tree
Hide file tree
Showing 184 changed files with 9,297 additions and 6,708 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rqalpha/_version.py export-subst
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ persist/
.tox
rqalpha_test_coverage_report/
.tmp.pkl
.env
10 changes: 2 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@ branches:
- master
matrix:
include:
- python: 2.7
- python: 3.5
- python: 3.6
- python: 3.7
- python: 3.8
dist: xenial
sudo: true

Expand All @@ -24,22 +23,17 @@ install:
- sudo make install
- cd ..

# Install bcolz
- pip install Cython
- pip install bcolz==1.2.0

# Install Test Deps
- pip install TA-Lib
- pip install coveralls
- pip install -U setuptools
- pip install git+https://github.com/ricequant/funcat.git
- pip install git+https://github.com/rkern/line_profiler.git
- pip install ipython==5.3.0
- pip install .
script:
- ls -al $HOME/.rqalpha/
- ls -al $HOME/.rqalpha/bundle/
- rqalpha update-bundle
- rqalpha download-bundle
- coverage run --source=rqalpha test.py
cache:
directories:
Expand Down
10 changes: 7 additions & 3 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
include requirements.txt
include requirements-py2.txt
include rqalpha/VERSION.txt
recursive-include rqalpha/resource *.png
include versioneer.py
include rqalpha/_version.py
include README.rst
include CHANGELOG.rst
include LICENSE
include rqalpha/utils/translations/zh_Hans_CN/LC_MESSAGES/*
graft rqalpha/examples
1 change: 0 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ Mod名 说明
======================== ==================================================================================
`sys_accounts`_ 【系统模块】为回测、模拟交易、实盘提供了股票和期货的账户模型及专用 API
`sys_analyser`_ 【系统模块】记录每天的下单、成交、投资组合、持仓等信息,并计算风险度指标,并以csv、plot图标等形式输出分析结果
`sys_funcat`_ 【系统模块】支持以通达信公式的方式写策略
`sys_progress`_ 【系统模块】在控制台输出当前策略的回测进度
`sys_risk`_ 【系统模块】对订单进行事前风控校验
`sys_simulation`_ 【系统模块】支持回测、撮合、滑点控制等
Expand Down
3 changes: 2 additions & 1 deletion docs/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@ Requirements
* sphinx_rtd_theme
* nbsphinx
* jupyter_client
* sphinx-autodoc-typehints

.. code-block:: bash
pip install Sphinx watchdog sphinx_rtd_theme nbsphinx jupyter_client
pip install Sphinx watchdog sphinx_rtd_theme nbsphinx jupyter_client sphinx-autodoc-typehints
# pandoc 需要下载 http://pandoc.org/installing.html 且重启pycharm(修改了环境变量)

Expand Down
1 change: 1 addition & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ watchdog
sphinx_rtd_theme
nbsphinx ==0.3.5
jupyter_client
sphinx-autodoc-typehints

0 comments on commit bd331cb

Please sign in to comment.