This commit is contained in:
dsyoon
2023-10-10 21:04:34 +09:00
parent b8199a399e
commit 007e060bd9
2 changed files with 3 additions and 3 deletions

View File

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