This commit is contained in:
dsyoon
2023-10-07 14:53:28 +09:00
parent b319f061aa
commit d993ebc3f0
3 changed files with 3 additions and 11 deletions

View File

@@ -726,7 +726,7 @@ class BuySellChecker:
outFp.write(str(df["label"][i]) + "\n")
return
def checkTransaction(self, data, data_5, data_30, isRealTime=True):
def checkTransaction(self, stock_code, data, data_5, data_30, isRealTime=True):
# 어제 오늘 데이터로 분석
bsLine = {}
size = len(data["close"])

View File

@@ -21,6 +21,7 @@ class HTS:
def __init__(self, RESOURCE_PATH):
self.RESOURCE_PATH = RESOURCE_PATH
#self.connect()
self.connect2DB(os.path.join( RESOURCE_PATH, "hts.db"))
return
def connect(self):