Sorted whitelist in rpc
Added `sorted()` to line 883 so that when executing `/whitelist` command the pairings will be in alphabetical order making it faster to identify whether the pair you are confirming/looking for is present. `'whitelist': sorted(self._freqtrade.active_pair_whitelist)`
This commit is contained in:
parent
8a18609be4
commit
f3b6f08850
@ -884,7 +884,7 @@ class RPC:
|
||||
""" Returns the currently active whitelist"""
|
||||
res = {'method': self._freqtrade.pairlists.name_list,
|
||||
'length': len(self._freqtrade.active_pair_whitelist),
|
||||
'whitelist': self._freqtrade.active_pair_whitelist
|
||||
'whitelist': sorted(self._freqtrade.active_pair_whitelist)
|
||||
}
|
||||
return res
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user