mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-01-20 05:50:36 +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