mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-03 02:23:05 +00:00
fix: if coingecko when no pair returned
fails to return valid pairs, the pairlist should be empty
This commit is contained in:
@@ -200,4 +200,5 @@ class MarketCapPairList(IPairList):
|
||||
if len(filtered_pairlist) > 0:
|
||||
return filtered_pairlist
|
||||
|
||||
return pairlist
|
||||
# If no pairs are found, return the original pairlist
|
||||
return []
|
||||
|
||||
Reference in New Issue
Block a user