This commit is contained in:
dosangyoon
2022-03-19 22:07:19 +09:00
parent 8f8a07687f
commit 18e2ec1556
2 changed files with 2 additions and 3 deletions

View File

@@ -181,7 +181,7 @@ class StockCrawler:
result = cursor.fetchone()
stock = {"CODE": item_code, "NAME": item_name}
ymd = "2020.01.01"
ymd = (datetime.today() - timedelta(days=300)).strftime('%Y-%m-%d')
if result is not None:
ymd = result[0]