提交 44035055 编写于 作者: Z zengbin93

0.4.3: 修复笔的顶底分型区间存在包含关系的bug

上级 17a9f80d
......@@ -366,7 +366,7 @@ class KlineAnalyze(object):
"fx_mark": "g",
"fx": k2['high'],
"fx_high": k2['high'],
"fx_low": k1['low']
"fx_low": max(k1['low'], k2['low'])
})
# 底分型标记
......@@ -377,7 +377,7 @@ class KlineAnalyze(object):
"dt": k2['dt'],
"fx_mark": "d",
"fx": k2['low'],
"fx_high": k1['high'],
"fx_high": min(k1['high'], k2['high']),
"fx_low": k2['low']
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册