init
This commit is contained in:
@@ -129,8 +129,8 @@ class MonitorCoin (Monitor):
|
||||
return data
|
||||
|
||||
def monitor_coins(self) -> None:
|
||||
print("[{}] KRW COINs: {}".format(datetime.now().strftime('%Y-%m-%d %H:%M:%S'), ','.join(KR_COINS_1.keys())))
|
||||
for symbol in KR_COINS_1:
|
||||
print("[{}] {}".format(datetime.now().strftime('%Y-%m-%d %H:%M:%S'), symbol))
|
||||
interval = 60
|
||||
data = self.get_coin_some_data(symbol, interval)
|
||||
if data is not None and not data.empty:
|
||||
|
||||
@@ -129,8 +129,8 @@ class MonitorCoin (Monitor):
|
||||
return data
|
||||
|
||||
def monitor_coins(self) -> None:
|
||||
print("[{}] KRW COINs: {}".format(datetime.now().strftime('%Y-%m-%d %H:%M:%S'), ','.join(KR_COINS_2.keys())))
|
||||
for symbol in KR_COINS_2:
|
||||
print("[{}] {}".format(datetime.now().strftime('%Y-%m-%d %H:%M:%S'), symbol))
|
||||
interval = 60
|
||||
data = self.get_coin_some_data(symbol, interval)
|
||||
if data is not None and not data.empty:
|
||||
|
||||
@@ -129,8 +129,8 @@ class MonitorCoin (Monitor):
|
||||
return data
|
||||
|
||||
def monitor_coins(self) -> None:
|
||||
print("[{}] KRW COINs: {}".format(datetime.now().strftime('%Y-%m-%d %H:%M:%S'), ','.join(KR_COINS_3.keys())))
|
||||
for symbol in KR_COINS_3:
|
||||
print("[{}] {}".format(datetime.now().strftime('%Y-%m-%d %H:%M:%S'), symbol))
|
||||
interval = 60
|
||||
data = self.get_coin_some_data(symbol, interval)
|
||||
if data is not None and not data.empty:
|
||||
|
||||
@@ -129,8 +129,8 @@ class MonitorCoin (Monitor):
|
||||
return data
|
||||
|
||||
def monitor_coins(self) -> None:
|
||||
print("[{}] KRW COINs: {}".format(datetime.now().strftime('%Y-%m-%d %H:%M:%S'), ','.join(KR_COINS_4.keys())))
|
||||
for symbol in KR_COINS_4:
|
||||
print("[{}] {}".format(datetime.now().strftime('%Y-%m-%d %H:%M:%S'), symbol))
|
||||
interval = 60
|
||||
data = self.get_coin_some_data(symbol, interval)
|
||||
if data is not None and not data.empty:
|
||||
|
||||
@@ -129,8 +129,8 @@ class MonitorCoin (Monitor):
|
||||
return data
|
||||
|
||||
def monitor_coins(self) -> None:
|
||||
print("[{}] KRW COINs: {}".format(datetime.now().strftime('%Y-%m-%d %H:%M:%S'), ','.join(KR_COINS_5.keys())))
|
||||
for symbol in KR_COINS_5:
|
||||
print("[{}] {}".format(datetime.now().strftime('%Y-%m-%d %H:%M:%S'), symbol))
|
||||
interval = 60
|
||||
data = self.get_coin_some_data(symbol, interval)
|
||||
if data is not None and not data.empty:
|
||||
|
||||
@@ -129,8 +129,8 @@ class MonitorCoin (Monitor):
|
||||
return data
|
||||
|
||||
def monitor_coins(self) -> None:
|
||||
print("[{}] KRW COINs: {}".format(datetime.now().strftime('%Y-%m-%d %H:%M:%S'), ','.join(KR_COINS_6.keys())))
|
||||
for symbol in KR_COINS_6:
|
||||
print("[{}] {}".format(datetime.now().strftime('%Y-%m-%d %H:%M:%S'), symbol))
|
||||
interval = 60
|
||||
data = self.get_coin_some_data(symbol, interval)
|
||||
if data is not None and not data.empty:
|
||||
|
||||
Reference in New Issue
Block a user