This commit is contained in:
dosangyoon
2021-10-16 01:26:27 +09:00
parent af5c22f9f5
commit 0283807f75
4 changed files with 56 additions and 58 deletions

View File

@@ -15,7 +15,7 @@ class Stochastic:
# 일자(n,m,t)에 따른 Stochastic(KDJ)의 값을 구하기 위해 함수형태로 만듬
# n=15 (%k), m=5 (%d), t=3
def apply(self, df, n=10, m=6, t=6):
def apply(self, df, n=5, m=3, t=3):
# 입력받은 값이 dataframe이라는 것을 정의해줌
df = pd.DataFrame(df)