mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-01-31 11:20:24 +00:00
Don't run against all orders, only consider open sl orders.
This commit is contained in:
@@ -1219,7 +1219,7 @@ class FreqtradeBot(LoggingMixin):
|
||||
logger.debug('Handling stoploss on exchange %s ...', trade)
|
||||
|
||||
stoploss_orders = []
|
||||
for slo in trade.sl_orders:
|
||||
for slo in trade.open_sl_orders:
|
||||
stoploss_order = None
|
||||
try:
|
||||
# First we check if there is already a stoploss on exchange
|
||||
|
||||
Reference in New Issue
Block a user