init
This commit is contained in:
@@ -129,7 +129,7 @@ class MonitorCoin (Monitor):
|
|||||||
return data
|
return data
|
||||||
|
|
||||||
def monitor_coins(self) -> None:
|
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:
|
for symbol in KR_COINS:
|
||||||
interval = 60
|
interval = 60
|
||||||
data = self.get_coin_some_data(symbol, interval)
|
data = self.get_coin_some_data(symbol, interval)
|
||||||
@@ -149,7 +149,6 @@ class MonitorCoin (Monitor):
|
|||||||
|
|
||||||
time.sleep(0.5)
|
time.sleep(0.5)
|
||||||
|
|
||||||
print("\t-{}".format(','.join(KR_COINS.keys())))
|
|
||||||
return
|
return
|
||||||
# ------------- Scheduler -------------
|
# ------------- Scheduler -------------
|
||||||
def run_schedule(self) -> None:
|
def run_schedule(self) -> None:
|
||||||
|
|||||||
Reference in New Issue
Block a user