removed unnecessary clear statement

This commit is contained in:
Nicolás Sánchez 2024-12-25 10:23:20 -03:00
parent 8522a1ef70
commit 0422624c5f
1 changed files with 1 additions and 2 deletions

View File

@ -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}")