From a9f7c4f7c4c113e5ef840d163cce163cf402625b Mon Sep 17 00:00:00 2001 From: algizn97 Date: Thu, 2 Oct 2025 12:08:53 +0500 Subject: [PATCH] Cancelled check tp sl price --- app/bybit/open_positions.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/bybit/open_positions.py b/app/bybit/open_positions.py index 7ee90e3..4896cc9 100644 --- a/app/bybit/open_positions.py +++ b/app/bybit/open_positions.py @@ -382,11 +382,6 @@ async def open_positions( take_profit_price = max(take_profit_price, 0) stop_loss_price = max(stop_loss_price, 0) - if safe_float(take_profit_price) < safe_float(price_symbol): - take_profit_price = None - if safe_float(stop_loss_price) > safe_float(price_symbol): - stop_loss_price = None - # Place order order_params = { "category": "linear",