This commit is contained in:
dsyoon
2023-12-19 23:31:09 +09:00
parent 308a01fc13
commit 6906703261
5 changed files with 256 additions and 236 deletions

View File

@@ -83,6 +83,7 @@ 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"])
hts.updateDisparity(stock["stock_code"])
this_day = this_day + timedelta(days=1)
if this_day > stock["end_date"]:
break