mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-01-28 18:00:23 +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:
|
if len(filtered_pairlist) > 0:
|
||||||
return filtered_pairlist
|
return filtered_pairlist
|
||||||
|
|
||||||
return pairlist
|
# If no pairs are found, return the original pairlist
|
||||||
|
return []
|
||||||
|
|||||||
Reference in New Issue
Block a user