init
This commit is contained in:
@@ -43,6 +43,15 @@ def download():
|
||||
for symbol in KR_COINS:
|
||||
print(symbol)
|
||||
|
||||
# 1일
|
||||
interval = 1440
|
||||
data = monitorCoin.get_coin_more_data(symbol, interval, bong_count=10000)
|
||||
if data is not None and not data.empty:
|
||||
try:
|
||||
inserData(symbol, interval, data)
|
||||
except Exception as e:
|
||||
print(f"Error processing data for {symbol}: {str(e)}")
|
||||
|
||||
# 1시간
|
||||
interval = 60
|
||||
data = monitorCoin.get_coin_more_data(symbol, interval, bong_count=10000)
|
||||
|
||||
Reference in New Issue
Block a user