From b731a65c7502a2b317d5cedb3fd76e4bf1979470 Mon Sep 17 00:00:00 2001 From: pyup-bot Date: Sat, 2 Jun 2018 04:27:04 +0200 Subject: [PATCH 1/2] Update ccxt from 1.14.96 to 1.14.119 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 7000f0eb1..ad64e58fd 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -ccxt==1.14.96 +ccxt==1.14.119 SQLAlchemy==1.2.8 python-telegram-bot==10.1.0 arrow==0.12.1 From 792dd556a1b1faefabdaacdd5ec8e1d3ce63398e Mon Sep 17 00:00:00 2001 From: Gerald Lonlas Date: Fri, 1 Jun 2018 19:37:39 -0700 Subject: [PATCH 2/2] Fix wrong hint '--update-pairs-cached' from Backtesting/Hyperopt --- freqtrade/optimize/__init__.py | 5 ++++- freqtrade/tests/optimize/test_optimize.py | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/freqtrade/optimize/__init__.py b/freqtrade/optimize/__init__.py index f6f1ba47a..68ba5622e 100644 --- a/freqtrade/optimize/__init__.py +++ b/freqtrade/optimize/__init__.py @@ -103,7 +103,10 @@ def load_data(datadir: str, if pairdata: result[pair] = pairdata else: - logger.warn('No data for pair %s, use --update-pairs-cached to download the data', pair) + logger.warning( + 'No data for pair %s, use --refresh-pairs-cached to download the data', + pair + ) return result diff --git a/freqtrade/tests/optimize/test_optimize.py b/freqtrade/tests/optimize/test_optimize.py index 8624b500d..765d88cd5 100644 --- a/freqtrade/tests/optimize/test_optimize.py +++ b/freqtrade/tests/optimize/test_optimize.py @@ -105,7 +105,7 @@ def test_load_data_with_new_pair_1min(ticker_history, mocker, caplog) -> None: refresh_pairs=False, pairs=['MEME/BTC']) assert os.path.isfile(file) is False - assert log_has('No data for pair MEME/BTC, use --update-pairs-cached to download the data', + assert log_has('No data for pair MEME/BTC, use --refresh-pairs-cached to download the data', caplog.record_tuples) # download a new pair if refresh_pairs is set