修改数据结构

This commit is contained in:
Porter
2025-09-22 10:16:06 +08:00
parent e84108cb80
commit 275e644f5a
2 changed files with 7 additions and 5 deletions
+2 -1
View File
@@ -37,7 +37,8 @@ class TF_DF():
self.bi_list = self.cal_bi_list(self.klc_list)
self.seg_list = self.cal_seg_list(self.bi_list)
self.zs_list = self.cal_zs_list(self.bi_list, self.seg_list)
return True
self.chanmacd = ChanMACD(self.klu_list)
self.klu_list = self.chanmacd.cal_macd_state()
def check_fx(self, klc):
if klc.pre and klc.next:
if klc.high > klc.pre.high and klc.high > klc.next.high: