removed unnecessary clear statement
This commit is contained in:
parent
8522a1ef70
commit
0422624c5f
3
main.py
3
main.py
|
|
@ -1687,7 +1687,6 @@ def unwrapped_last_call(base,quote):
|
||||||
|
|
||||||
try:
|
try:
|
||||||
if f"{base}{quote}" in broker.get_pairs():
|
if f"{base}{quote}" in broker.get_pairs():
|
||||||
#read_config["pairs"].remove(base+quote)
|
|
||||||
for x in running_instances:
|
for x in running_instances:
|
||||||
if f"{base}/{quote}"==x.pair:
|
if f"{base}/{quote}"==x.pair:
|
||||||
x.stop_when_profit = not x.stop_when_profit
|
x.stop_when_profit = not x.stop_when_profit
|
||||||
|
|
@ -1764,7 +1763,7 @@ def unwrapped_global_last_call():
|
||||||
'''
|
'''
|
||||||
try:
|
try:
|
||||||
if broker.get_pairs!=[]:
|
if broker.get_pairs!=[]:
|
||||||
broker.clear_pairs()
|
#broker.clear_pairs()
|
||||||
for x in running_instances:
|
for x in running_instances:
|
||||||
x.stop_when_profit = True
|
x.stop_when_profit = True
|
||||||
broker.logger.log_this("Modified flag",2,f"{x.base}/{x.quote}")
|
broker.logger.log_this("Modified flag",2,f"{x.base}/{x.quote}")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue