This commit is contained in:
dsyoon
2023-12-20 13:38:09 +09:00
parent b07248637e
commit db5267af49
2 changed files with 1 additions and 47 deletions

View File

@@ -86,8 +86,6 @@ if __name__ == "__main__":
while True:
print("insert...", stock["stock_code"], stock["stock_name"], this_day.strftime('%Y%m%d'))
hts.insertStockData(this_day, stock["stock_code"], stock["stock_name"])
print("updateDisparity...", stock["stock_code"], stock["stock_name"], this_day.strftime('%Y%m%d'))
hts.updateDisparity(stock["stock_code"])
this_day = this_day + timedelta(days=1)
if this_day > stock["end_date"]:
break