This commit is contained in:
dsyoon
2024-10-16 20:51:07 +09:00
parent 0d18c61fa2
commit 8c90484d87
2 changed files with 7 additions and 5 deletions

View File

@@ -401,7 +401,8 @@ class StockCrawler:
def crawl_specific_stock(self, code, ymd):
# 데이터 수집
start_day = (datetime.today() - timedelta(weeks=2)).strftime('%Y-%m-%d')
#start_day = (datetime.today() - timedelta(weeks=2)).strftime('%Y-%m-%d')
start_day = ymd.replace('.','-')
end_day = datetime.today().strftime('%Y-%m-%d')
stock = []