init
This commit is contained in:
@@ -168,8 +168,8 @@ class Monitor:
|
|||||||
else:
|
else:
|
||||||
if symbol in self.buy_cooldown:
|
if symbol in self.buy_cooldown:
|
||||||
time_diff = current_time - self.buy_cooldown[symbol]
|
time_diff = current_time - self.buy_cooldown[symbol]
|
||||||
if time_diff.total_seconds() < 1200:
|
if time_diff.total_seconds() < 1800:
|
||||||
print(f"{symbol}: 매수 금지 중 (남은 시간: {1200 - time_diff.total_seconds():.0f}초)")
|
print(f"{symbol}: 매수 금지 중 (남은 시간: {1800 - time_diff.total_seconds():.0f}초)")
|
||||||
return False
|
return False
|
||||||
|
|
||||||
buy_amount = 5100
|
buy_amount = 5100
|
||||||
|
|||||||
Reference in New Issue
Block a user