Skip to content

Commit

Permalink
Merge pull request #254 from fasiondog/release
Browse files Browse the repository at this point in the history
Release 2.0.7
  • Loading branch information
fasiondog authored May 18, 2024
2 parents e639812 + bd69ad5 commit ea4fd0c
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
11 changes: 11 additions & 0 deletions docs/source/release.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
版本发布说明
=======================

2.0.7 - 2024年5月18日
-------------------------

1. sys.performance 绘图时标题中加上对应的证券名称及标识,以及修正统计范围为回测截止时间
2. 优化内建信号指示器 SG_Band, 支持使用 3 个指标分别作为参考、下轨、上轨
3. fixed MultiFactorBase 默认构造时缺失名称
4. fixed SignalBase reset 中缺失对象成员
5. fixed System 中止盈实现,保证止盈仅在盈利情况下发生
6. fixed hub 获取 part 下子部件失败


2.0.6 - 2024年5月13日
-------------------------

Expand Down
1 change: 1 addition & 0 deletions docs/source/trade_sys/signal.rst
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@
::

SG_Band(MA(C, n=10), 100, 200)
SG_Band(CLOSE, MA(LOW), MA(HIGH))


持续买入信号指示器
Expand Down
6 changes: 3 additions & 3 deletions hikyuu_cpp/hikyuu/trade_sys/selector/imp/SignalSelector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ SignalSelector::SignalSelector() : SelectorBase("SE_Sigal") {}
SignalSelector::~SignalSelector() {}

bool SignalSelector::isMatchAF(const AFPtr& af) {
HKU_WARN_IF_RETURN(
af->getParam<bool>("adjust_running_sys"), false,
"AF will adjust running system funds, but this se is not suitable the case!");
// HKU_WARN_IF_RETURN(
// af->getParam<bool>("adjust_running_sys"), false,
// "AF will adjust running system funds, but this se is not suitable the case!");
return true;
}

Expand Down
2 changes: 1 addition & 1 deletion xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ add_rules("mode.debug", "mode.release")
if not is_plat("windows") then add_rules("mode.coverage", "mode.asan", "mode.msan", "mode.tsan", "mode.lsan") end

-- version
set_version("2.0.6", {build = "%Y%m%d%H%M"})
set_version("2.0.7", {build = "%Y%m%d%H%M"})

local level = get_config("log_level")
if is_mode("debug") then
Expand Down

0 comments on commit ea4fd0c

Please sign in to comment.