init
This commit is contained in:
@@ -129,7 +129,7 @@ class MonitorCoin (Monitor):
|
||||
return data
|
||||
|
||||
def monitor_coins(self) -> None:
|
||||
print("KRW COINs {}".format(datetime.now().strftime('%Y-%m-%d %H:%M:%S')))
|
||||
print("KRW COINs: {} ({})".format(','.join(KR_COINS.keys()), datetime.now().strftime('%Y-%m-%d %H:%M:%S')))
|
||||
for symbol in KR_COINS:
|
||||
interval = 60
|
||||
data = self.get_coin_some_data(symbol, interval)
|
||||
@@ -149,7 +149,6 @@ class MonitorCoin (Monitor):
|
||||
|
||||
time.sleep(0.5)
|
||||
|
||||
print("\t-{}".format(','.join(KR_COINS.keys())))
|
||||
return
|
||||
# ------------- Scheduler -------------
|
||||
def run_schedule(self) -> None:
|
||||
|
||||
Reference in New Issue
Block a user