Use correct variable in pairlist_manager
This commit is contained in:
parent
fd3afdc230
commit
7448a05f15
@ -581,6 +581,7 @@ def plot_profit(config: Dict[str, Any]) -> None:
|
|||||||
# Create an average close price of all the pairs that were involved.
|
# Create an average close price of all the pairs that were involved.
|
||||||
# this could be useful to gauge the overall market trend
|
# this could be useful to gauge the overall market trend
|
||||||
fig = generate_profit_graph(plot_elements['pairs'], plot_elements['ohlcv'],
|
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',
|
store_plot_file(fig, filename='freqtrade-profit-plot.html',
|
||||||
directory=config['user_data_dir'] / 'plot', auto_open=True)
|
directory=config['user_data_dir'] / 'plot', auto_open=True)
|
||||||
|
@ -83,7 +83,7 @@ class PairListManager():
|
|||||||
pairlist = self._prepare_whitelist(self._whitelist.copy(), tickers)
|
pairlist = self._prepare_whitelist(self._whitelist.copy(), tickers)
|
||||||
|
|
||||||
# Generate the pairlist with first Pairlist Handler in the chain
|
# 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
|
# Process all Pairlist Handlers in the chain
|
||||||
for pairlist_handler in self._pairlist_handlers:
|
for pairlist_handler in self._pairlist_handlers:
|
||||||
|
Loading…
Reference in New Issue
Block a user