Skip to content

Commit

Permalink
update docs update_bundle -> update-bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
Cuizi7 committed Oct 27, 2018
1 parent fdf432f commit 2412d9e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions docs/source/development/data_source.rst
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ RQAlpha 不限制本地运行的策略调使用哪些库,因此您可以直接
基础数据
------------------------------------

通过 `$ rqalpha update_bundle` 下载的数据有如下文件:
通过 `$ rqalpha update-bundle` 下载的数据有如下文件:

.. code-block:: bash
Expand All @@ -277,7 +277,7 @@ RQAlpha 不限制本地运行的策略调使用哪些库,因此您可以直接
├── trading_dates.bcolz
└── yield_curve.bcolz
目前基础数据,比如 `Instruments`, `st_stocks`, `suspended_days`, `trading_dates` 都是全量数据,并且可以通过 `$ rqalpha update_bundle` 每天更新,因此没有相应的显式接口可以对其进行替换。
目前基础数据,比如 `Instruments`, `st_stocks`, `suspended_days`, `trading_dates` 都是全量数据,并且可以通过 `$ rqalpha update-bundle` 每天更新,因此没有相应的显式接口可以对其进行替换。

您如果想要替换,可以使用如下两种方式:

Expand Down
8 changes: 4 additions & 4 deletions docs/source/intro/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,18 +72,18 @@ RiceQuant 免费提供日级别的股票和期货数据供回测使用,可以

.. note::

Mac OS下执行 :code:`update_bundle` 出现问题,请参考::ref:`FAQ-update-bundle-mac`
Mac OS下执行 :code:`update-bundle` 出现问题,请参考::ref:`FAQ-update-bundle-mac`

.. code-block:: bash
$ rqalpha update_bundle
$ rqalpha update-bundle
bundle 默认存放在 :code:`~/.rqalpha` 下,您也可以指定 bundle 的存放位置,

.. code-block:: bash
$ rqalpha update_bundle -d target_bundle_path
$ rqalpha update-bundle -d target_bundle_path
如果您使用了指定路径来存放 bundle,那么执行程序的时候也同样需要指定对应的 bundle 路径。

Expand Down Expand Up @@ -210,4 +210,4 @@ Mac 下默认并没有安装很多命令,我们可以通过homebrew安装,
2.数据存储的路径:
如您没有指定路径,则会在您执行 :code:`rqalpha update_bundle` 的当前目录创建 :code:`/.rqalpha/bundle` 的文件夹.您可以在命令行内查看路径。
如您没有指定路径,则会在您执行 :code:`rqalpha update-bundle` 的当前目录创建 :code:`/.rqalpha/bundle` 的文件夹.您可以在命令行内查看路径。
2 changes: 1 addition & 1 deletion docs/source/intro/overview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ RQAlpha 安装

.. code-block:: bash
$ rqalpha update_bundle
$ rqalpha update-bundle
生成样例策略
==================
Expand Down

0 comments on commit 2412d9e

Please sign in to comment.