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: