添加第二类卖卖点

This commit is contained in:
jackyu66git
2025-06-27 02:39:47 +08:00
parent 1c168c27bd
commit 770655c53f
3 changed files with 73 additions and 56 deletions
+6
View File
@@ -40,6 +40,12 @@ class ChanKLC():
self.candle_dir = klu.candle_dir
self.range = klu.range
self.strength = klu.strength
self.last_top_klc = None
self.last_bottom_klc = None
def set_last_top_klu(self, last_top_klc):
self.last_top_klc = last_top_klc
def set_last_bottom_klc(self, last_bottom_klc):
self.last_bottom_klc = last_bottom_klc
def set_klc_fx_type(self, klc_fx_type):
#print(self.start_time, klc_fx_type, self.get_feature_data()['klu_macd'], self.get_feature_data()['klu_macdhist'], self.get_feature_data()['klu_rsi'])
self.klc_fx_type = klc_fx_type