From 41872c37840111df1e7b4a042f964e58af8fda00 Mon Sep 17 00:00:00 2001 From: dsyoon Date: Fri, 4 Feb 2022 12:09:08 +0900 Subject: [PATCH] init --- hts/BuySellChecker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()