From 7448a05f15db0b0ad5c4e023cbd2ea51d500f9ce Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 25 Apr 2021 11:01:04 +0200 Subject: [PATCH] Use correct variable in pairlist_manager --- freqtrade/plot/plotting.py | 3 ++- freqtrade/plugins/pairlistmanager.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/freqtrade/plot/plotting.py b/freqtrade/plot/plotting.py index 5ffe7f155..d5a729ee1 100644 --- a/freqtrade/plot/plotting.py +++ b/freqtrade/plot/plotting.py @@ -581,6 +581,7 @@ def plot_profit(config: Dict[str, Any]) -> None: # Create an average close price of all the pairs that were involved. # this could be useful to gauge the overall market trend fig = generate_profit_graph(plot_elements['pairs'], plot_elements['ohlcv'], - trades, config.get('timeframe', '5m'), config.get('stake_currency')) + trades, config.get('timeframe', '5m'), + config.get('stake_currency', '')) store_plot_file(fig, filename='freqtrade-profit-plot.html', directory=config['user_data_dir'] / 'plot', auto_open=True) diff --git a/freqtrade/plugins/pairlistmanager.py b/freqtrade/plugins/pairlistmanager.py index 4e4135981..29c78084c 100644 --- a/freqtrade/plugins/pairlistmanager.py +++ b/freqtrade/plugins/pairlistmanager.py @@ -83,7 +83,7 @@ class PairListManager(): pairlist = self._prepare_whitelist(self._whitelist.copy(), tickers) # Generate the pairlist with first Pairlist Handler in the chain - pairlist = self._pairlist_handlers[0].gen_pairlist(self._whitelist, tickers) + pairlist = self._pairlist_handlers[0].gen_pairlist(pairlist, tickers) # Process all Pairlist Handlers in the chain for pairlist_handler in self._pairlist_handlers: