From 7a2af2a3490b88993223d10e47747493ffb744d3 Mon Sep 17 00:00:00 2001 From: Dongho Kim Date: Wed, 8 Jan 2025 21:15:12 +0900 Subject: [PATCH] sonar check --- auto_trade.py | 1 + 1 file changed, 1 insertion(+) diff --git a/auto_trade.py b/auto_trade.py index 7a1f8c5..d7f5465 100644 --- a/auto_trade.py +++ b/auto_trade.py @@ -106,6 +106,7 @@ class CryptoTradingStrategy: if current_price <= position["entry_price"] * (1 - self.stop_loss): position["should_exit"] = True position["exit_reason"] = "stop_loss" + print("wegood") # Check take profit elif current_price >= position["entry_price"] * (1 + self.take_profit):