This commit is contained in:
dsyoon
2023-07-12 14:55:45 +09:00
parent 207ce5e17e
commit d5ae26af9a
2 changed files with 10 additions and 0 deletions

View File

@@ -138,6 +138,7 @@ if week in (0, 1, 2, 3, 4): # 0:월, 1:화, 2:수, 3:목, 4:금, 5:토, 6:일
ERROR_COUNT = 0
while ERROR_COUNT < 3:
try:
print("\n[국내 ETF 수집]")
stockCrawler.crawl_etf_stocks(stockFileName)
slackBot.sendMsg("7. done etf stocks...")
break
@@ -152,6 +153,7 @@ if week in (0, 1, 2, 3, 4): # 0:월, 1:화, 2:수, 3:목, 4:금, 5:토, 6:일
ERROR_COUNT = 0
while ERROR_COUNT < 3:
try:
print("\n[국내 종목 수집]")
stockCrawler.crawl_stocks(stockFileName)
slackBot.sendMsg("8. done stocks...")
break
@@ -166,6 +168,7 @@ if week in (0, 1, 2, 3, 4): # 0:월, 1:화, 2:수, 3:목, 4:금, 5:토, 6:일
ERROR_COUNT = 0
while ERROR_COUNT < 3:
try:
print("\n[US 종목 수집]")
stockCrawler.crawl_special_stocks(stockFileName)
slackBot.sendMsg("9. done US stocks...")
break

View File

@@ -0,0 +1,7 @@
class StockPriceDirectionAnalyzer:
def __init__(self):
return
if __name__ == "__main__":
stockPriceDirectionAnalyzer = StockPriceDirectionAnalyzer()