Add classifier to the code

This commit is contained in:
jackyu66git
2025-04-24 20:34:16 +08:00
parent 656484e0ca
commit 63852efe47
7 changed files with 42 additions and 50 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ class ChanKLC():
self.distance = 0
self.klc_fx_type = Chan_KLC_FX.UNKNOWN
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'])
#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'])
if self.check_klc_fx_type(klc_fx_type):
self.klc_fx_type = klc_fx_type
def check_klc_fx_type(self, klc_fx_type):