Don't run filter again for pairlist generator
The generator implicitly runs filter - so it should not be ran again as that would void generator caching. closes #5103
This commit is contained in:
parent
96fbb226c5
commit
122943d835
@ -83,7 +83,8 @@ class PairListManager():
|
|||||||
pairlist = self._pairlist_handlers[0].gen_pairlist(tickers)
|
pairlist = self._pairlist_handlers[0].gen_pairlist(tickers)
|
||||||
|
|
||||||
# Process all Pairlist Handlers in the chain
|
# Process all Pairlist Handlers in the chain
|
||||||
for pairlist_handler in self._pairlist_handlers:
|
# except for the first one, which is the generator.
|
||||||
|
for pairlist_handler in self._pairlist_handlers[1:]:
|
||||||
pairlist = pairlist_handler.filter_pairlist(pairlist, tickers)
|
pairlist = pairlist_handler.filter_pairlist(pairlist, tickers)
|
||||||
|
|
||||||
# Validation against blacklist happens after the chain of Pairlist Handlers
|
# Validation against blacklist happens after the chain of Pairlist Handlers
|
||||||
|
Loading…
Reference in New Issue
Block a user