From 4bda525266338f946adbfc289f81ad74fe407228 Mon Sep 17 00:00:00 2001 From: dsyoon Date: Sat, 9 Aug 2025 17:39:58 +0900 Subject: [PATCH] init --- monitor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monitor.py b/monitor.py index 140fe7e..d97c1dc 100644 --- a/monitor.py +++ b/monitor.py @@ -129,7 +129,7 @@ class Monitor: def buy_ticker(self, symbol: str, data: pd.DataFrame) -> bool: try: current_time = datetime.now() - if data['buy_signal'].iloc[-1] != 'fall_5p': + if data['buy_signal'].iloc[-1] == 'fall_5p': buy_amount = 100000 if symbol in self.buy_cooldown: