Fix some obtruse (test)bugs

This commit is contained in:
Matthias
2021-12-07 07:25:00 +01:00
parent ba1091b9e4
commit a870e0962a
4 changed files with 64 additions and 55 deletions

View File

@@ -265,7 +265,7 @@ def list_available_pairs(timeframe: Optional[str] = None, stake_currency: Option
if candletype:
pair_interval = [pair for pair in pair_interval if pair[2] == candletype]
else:
pair_interval = [pair for pair in pair_interval if pair[2] == '']
pair_interval = [pair for pair in pair_interval if pair[2] == CandleType.SPOT_]
pair_interval = sorted(pair_interval, key=lambda x: x[0])