Add Sorting to available pair list

This commit is contained in:
Matthias 2021-05-24 07:47:38 +02:00
parent 830b2548bc
commit 2ec22f1d97
1 changed files with 1 additions and 1 deletions

View File

@ -252,7 +252,7 @@ def list_available_pairs(timeframe: Optional[str] = None, stake_currency: Option
pair_interval = sorted(pair_interval, key=lambda x: x[0])
pairs = list({x[0] for x in pair_interval})
pairs.sort()
result = {
'length': len(pairs),
'pairs': pairs,