init
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user