Use correct variable in pairlist_manager

This commit is contained in:
Matthias 2021-04-25 11:01:04 +02:00
parent fd3afdc230
commit 7448a05f15
2 changed files with 3 additions and 2 deletions

View File

@ -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)

View File

@ -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: