From 7593339c14c0f45011f88f6d7034e845ee6363f8 Mon Sep 17 00:00:00 2001 From: robcaulk Date: Wed, 25 May 2022 14:42:46 +0200 Subject: [PATCH] small cleanup --- docs/freqai.md | 2 +- freqtrade/commands/data_commands.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/freqai.md b/docs/freqai.md index 1c6a4ec4a..403145525 100644 --- a/docs/freqai.md +++ b/docs/freqai.md @@ -110,7 +110,7 @@ by prepending indicators with `%`: ```python def populate_any_indicators(self, metadata, pair, df, tf, informative=None, coin=""): - informative['%-''%-' + coin + "rsi"] = ta.RSI(informative, timeperiod=14) + informative['%-' + coin + "rsi"] = ta.RSI(informative, timeperiod=14) informative['%-' + coin + "mfi"] = ta.MFI(informative, timeperiod=25) informative['%-' + coin + "adx"] = ta.ADX(informative, window=20) bollinger = qtpylib.bollinger_bands(qtpylib.typical_price(informative), window=14, stds=2.2) diff --git a/freqtrade/commands/data_commands.py b/freqtrade/commands/data_commands.py index 4588bf67b..c7e6a7b84 100644 --- a/freqtrade/commands/data_commands.py +++ b/freqtrade/commands/data_commands.py @@ -51,7 +51,6 @@ def start_download_data(args: Dict[str, Any]) -> None: markets = [p for p, m in exchange.markets.items() if market_is_active(m) or config.get('include_inactive')] if config.get('freqai') is not None: - assert config['freqai'].get('corr_pairlist'), "No corr_pairlist found in config." full_pairs = config['pairs'] + [pair for pair in config['freqai']['corr_pairlist'] if pair not in config['pairs']] expanded_pairs = expand_pairlist(full_pairs, markets)