This commit is contained in:
dsyoon
2025-08-17 10:55:12 +09:00
parent 567633f535
commit 3feac8c7b4
4 changed files with 8 additions and 8 deletions

View File

@@ -147,7 +147,7 @@ class MonitorCoin (Monitor):
else: else:
print(f"Data for {symbol} is empty or None.") print(f"Data for {symbol} is empty or None.")
time.sleep(0.5) time.sleep(1)
return return
# ------------- Scheduler ------------- # ------------- Scheduler -------------
@@ -155,7 +155,7 @@ class MonitorCoin (Monitor):
while True: while True:
self.monitor_coins() self.monitor_coins()
time.sleep(1) time.sleep(3)
if __name__ == "__main__": if __name__ == "__main__":
MonitorCoin(cooldown_file='coins_buy_time_1.json').run_schedule() MonitorCoin(cooldown_file='coins_buy_time_1.json').run_schedule()

View File

@@ -147,7 +147,7 @@ class MonitorCoin (Monitor):
else: else:
print(f"Data for {symbol} is empty or None.") print(f"Data for {symbol} is empty or None.")
time.sleep(0.5) time.sleep(1)
return return
# ------------- Scheduler ------------- # ------------- Scheduler -------------
@@ -155,7 +155,7 @@ class MonitorCoin (Monitor):
while True: while True:
self.monitor_coins() self.monitor_coins()
time.sleep(1) time.sleep(3)
if __name__ == "__main__": if __name__ == "__main__":
MonitorCoin(cooldown_file='coins_buy_time_2.json').run_schedule() MonitorCoin(cooldown_file='coins_buy_time_2.json').run_schedule()

View File

@@ -147,7 +147,7 @@ class MonitorCoin (Monitor):
else: else:
print(f"Data for {symbol} is empty or None.") print(f"Data for {symbol} is empty or None.")
time.sleep(0.5) time.sleep(1)
return return
# ------------- Scheduler ------------- # ------------- Scheduler -------------
@@ -155,7 +155,7 @@ class MonitorCoin (Monitor):
while True: while True:
self.monitor_coins() self.monitor_coins()
time.sleep(1) time.sleep(3)
if __name__ == "__main__": if __name__ == "__main__":
MonitorCoin(cooldown_file='coins_buy_time_3.json').run_schedule() MonitorCoin(cooldown_file='coins_buy_time_3.json').run_schedule()

View File

@@ -147,7 +147,7 @@ class MonitorCoin (Monitor):
else: else:
print(f"Data for {symbol} is empty or None.") print(f"Data for {symbol} is empty or None.")
time.sleep(0.5) time.sleep(1)
return return
# ------------- Scheduler ------------- # ------------- Scheduler -------------
@@ -155,7 +155,7 @@ class MonitorCoin (Monitor):
while True: while True:
self.monitor_coins() self.monitor_coins()
time.sleep(1) time.sleep(3)
if __name__ == "__main__": if __name__ == "__main__":
MonitorCoin(cooldown_file='coins_buy_time_4.json').run_schedule() MonitorCoin(cooldown_file='coins_buy_time_4.json').run_schedule()