This commit is contained in:
dsyoon
2022-08-05 19:45:22 +09:00
parent 57c5cc5638
commit 8729a09e03
2 changed files with 48 additions and 41 deletions

2
StockCrawler.bat Normal file
View File

@@ -0,0 +1,2 @@
C:\workspace\Anaconda3\envs\hts\python C:\workspace\DeepStock\StockCrawler.py
pause

View File

@@ -22,6 +22,8 @@ week = datetime.today().weekday()
if week in (0, 1, 2, 3, 4):
while True:
try:
# 재무제표는 3개월마다 다운로드를 한다.
fnGuideCrawler = FnGuideCrawler(START_DATE)
print("[KOSPI 상장기업 재무제표 다운로드]")
@@ -72,7 +74,10 @@ if week in (0, 1, 2, 3, 4):
os.mkdir(outPath)
print("print to Html...")
analyzerSqlite.findCandidate(outPath)
# E: 분석까지 진행
break
except:
continue
print("time : %6.2f", (time.time() - start))