diff --git a/hts/BuySellChecker.py b/hts/BuySellChecker.py index 1c52191..6f7e5de 100644 --- a/hts/BuySellChecker.py +++ b/hts/BuySellChecker.py @@ -373,7 +373,7 @@ class BuySellChecker: slow_d = stochastic_df['slow_d'].values.tolist() # rsi 계산 - rsi_df = self.rsi.apply(STOCK) + rsi_df = self.rsi.apply(STOCK, period=14, window=9) rsi_df = rsi_df.fillna(100) rsi = rsi_df['rsi'].values.tolist() rsis = rsi_df['rsis'].values.tolist()