From 31219299d28294edfb58cb0efa13ad2686d5b91a Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 6 Jun 2024 18:05:45 +0200 Subject: [PATCH] Don't fail trades loop if one pair fails --- freqtrade/exchange/exchange.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/freqtrade/exchange/exchange.py b/freqtrade/exchange/exchange.py index 0b6e6f5f1..6b1835dfb 100644 --- a/freqtrade/exchange/exchange.py +++ b/freqtrade/exchange/exchange.py @@ -2630,6 +2630,7 @@ class Exchange: if not all_stored_ticks_df.empty: if all_stored_ticks_df.iloc[0]["timestamp"] <= first_candle_ms: last_cached_ms = all_stored_ticks_df.iloc[-1]["timestamp"] + from_id = all_stored_ticks_df.iloc[-1]["id"] # only use cached if it's closer than first_candle_ms since_ms = ( last_cached_ms @@ -2650,9 +2651,9 @@ class Exchange: from_id=from_id, ) - except Exception as e: + except Exception: logger.exception(f"Refreshing TRADES data for {pair} failed") - raise e + continue if new_ticks: all_stored_ticks_list = all_stored_ticks_df[