init
This commit is contained in:
2
StockCrawler.bat
Normal file
2
StockCrawler.bat
Normal file
@@ -0,0 +1,2 @@
|
||||
C:\workspace\Anaconda3\envs\hts\python C:\workspace\DeepStock\StockCrawler.py
|
||||
pause
|
||||
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user