提交 832debc7 编写于 作者: Z zengbin93

0.5.3 针对最近一个线段标记处理

上级 83b60c6f
......@@ -628,6 +628,11 @@ class KlineAnalyze:
new_xd_list.append(self.xd_list[j])
self.xd_list = new_xd_list
# 针对最近一个线段标记处理
if (self.xd_list[-1]['fx_mark'] == 'd' and self.bi_list[-1]['bi'] < self.xd_list[-1]['xd']) \
or (self.xd_list[-1]['fx_mark'] == 'g' and self.bi_list[-1]['bi'] > self.xd_list[-1]['xd']):
self.xd_list.pop(-1)
def _update_xd_list(self):
self._update_xd_list_v1()
self._xd_after_process()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册