From 0422624c5f1ecffb5f7a522c09cb74fe43d58161 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20S=C3=A1nchez?= Date: Wed, 25 Dec 2024 10:23:20 -0300 Subject: [PATCH] removed unnecessary clear statement --- main.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main.py b/main.py index 4430f91..474ef3a 100644 --- a/main.py +++ b/main.py @@ -1687,7 +1687,6 @@ def unwrapped_last_call(base,quote): try: if f"{base}{quote}" in broker.get_pairs(): - #read_config["pairs"].remove(base+quote) for x in running_instances: if f"{base}/{quote}"==x.pair: x.stop_when_profit = not x.stop_when_profit @@ -1764,7 +1763,7 @@ def unwrapped_global_last_call(): ''' try: if broker.get_pairs!=[]: - broker.clear_pairs() + #broker.clear_pairs() for x in running_instances: x.stop_when_profit = True broker.logger.log_this("Modified flag",2,f"{x.base}/{x.quote}")