Skip to content

Commit

Permalink
update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Cuizi7 committed Nov 27, 2020
1 parent 65c5092 commit 0788301
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,22 @@
CHANGELOG
==================

4.2.5
==================

- 修复了访问持仓对象 :code:`closable` 字段会抛出异常的 bug


4.2.4
==================

- :code:`rqalpha-mod-sys-simulation` 增加配置项 :code:`inactive_limit`,开启该选项可禁止订单在成交量为 0 的 bar 成交
- :code:`rqalpha-mod-sys-transaction-cost` 增加 :code:`tax_multiplier` 配置项,用于设置印花税倍率
- :code:`Order`对象的构造函数增加关键字参数
- 移除 :code:`AbstractAccount` 接口
- 移动部分 module 至 :code:`rqalpha.core` package


4.2.1
==================

Expand Down
2 changes: 2 additions & 0 deletions rqalpha/mod/rqalpha_mod_sys_simulation/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ RQAlpha 回测 Mod,启用该模块开启回测功能。
"slippage_model": "PriceRatioSlippage",
# 设置滑点
"slippage": 0,
# volume 为 0 时限制成交
"inactive_limit": True,
}
您可以通过如下方式来修改模块的配置信息,比如下面的示例中介绍了如何设置滑点
Expand Down

0 comments on commit 0788301

Please sign in to comment.