This commit is contained in:
dsyoon
2023-11-01 00:16:52 +09:00
parent 08b5915d89
commit 03cbec5803
7 changed files with 93 additions and 77 deletions

View File

@@ -20,7 +20,7 @@ if __name__ == "__main__":
if not os.path.exists(os.path.join(RESOURCE_PATH, "log")):
os.mkdir(os.path.join(RESOURCE_PATH, "log"))
logFp = open(os.path.join(RESOURCE_PATH, "log", today_str + "_" + stock_code + ".log"), "w", encoding='utf-8')
hts.buyRealTime(today_str, analyzed_day=1000, MAX_PRICE=100000, logFp=logFp)
hts.buyRealTime(today_str, analyzed_day=1000, logFp=logFp)
logFp.close()
db_filename = os.path.join(RESOURCE_PATH, "hts.db")