prior pairlists should go first

This commit is contained in:
Matthias
2022-09-25 19:32:39 +02:00
parent bd106b4b8e
commit af59572cb9
2 changed files with 14 additions and 1 deletions

View File

@@ -62,7 +62,7 @@ class ProducerPairList(IPairList):
if pairlist is None:
pairlist = self._pairlistmanager._dataprovider.get_producer_pairs(self._producer_name)
pairs = list(dict.fromkeys(upstream_pairlist + pairlist))
pairs = list(dict.fromkeys(pairlist + upstream_pairlist))
if self._num_assets:
pairs = pairs[:self._num_assets]