init
This commit is contained in:
@@ -130,7 +130,7 @@ def sendAlertMsg(info, market="US"):
|
||||
|
||||
def monitor_us_stocks():
|
||||
# 미국 주식 모니터링
|
||||
print("Monitoring US stocks...")
|
||||
print("US Stocks {}".format(datetime.now().strftime('%Y-%m-%d %H:%M:%S')))
|
||||
for symbol in US_STOCKS:
|
||||
data = get_stock_data(symbol)
|
||||
if data is not None and not data.empty:
|
||||
@@ -154,7 +154,7 @@ def monitor_us_stocks():
|
||||
|
||||
def monitor_kr_stocks():
|
||||
# 한국 ETF 모니터링
|
||||
print("\nMonitoring Korean ETFs...")
|
||||
print("KR ETFs {}".format(datetime.now().strftime('%Y-%m-%d %H:%M:%S')))
|
||||
for symbol in KR_ETFS:
|
||||
data = get_stock_data(symbol)
|
||||
if data is not None and not data.empty:
|
||||
@@ -178,7 +178,7 @@ def monitor_kr_stocks():
|
||||
|
||||
def monitor_coins():
|
||||
# 코인 모니터링
|
||||
print("Monitoring KR Coins...")
|
||||
print("KR Coins {}".format(datetime.now().strftime('%Y-%m-%d %H:%M:%S')))
|
||||
for symbol in KR_COINS:
|
||||
data = get_coin_data(symbol)
|
||||
if data is not None and not data.empty:
|
||||
|
||||
Reference in New Issue
Block a user