From f05818a86e64f7194a24dc74451cb9b1641e3de6 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 23 Nov 2019 19:48:15 +0100 Subject: [PATCH 1/2] Allow transition from "no-config"-pairlist to pairlists --- freqtrade/configuration/deprecated_settings.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/freqtrade/configuration/deprecated_settings.py b/freqtrade/configuration/deprecated_settings.py index 8f3dbd675..b1e3535a3 100644 --- a/freqtrade/configuration/deprecated_settings.py +++ b/freqtrade/configuration/deprecated_settings.py @@ -58,6 +58,13 @@ def process_temporary_deprecated_settings(config: Dict[str, Any]) -> None: process_deprecated_setting(config, 'ask_strategy', 'ignore_roi_if_buy_signal', 'experimental', 'ignore_roi_if_buy_signal') + if not config.get('pairlists') and not config.get('pairlists'): + config['pairlists'] = [{'method': 'StaticPairList'}] + logger.warning( + "DEPRECATED: " + "Pairlists must be defined explicitly in the future." + "Defaulting to StaticPairList for now.") + if config.get('pairlist', {}).get("method") == 'VolumePairList': logger.warning( "DEPRECATED: " From cbf710a4f86f6d54ff56deb1f3f83fabbc592425 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 23 Nov 2019 19:48:33 +0100 Subject: [PATCH 2/2] Fix coveralls (?) --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 99f3b3eec..ea5f9c395 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -73,9 +73,9 @@ jobs: # Allow failure for coveralls # Fake travis environment to get coveralls working correctly export TRAVIS_PULL_REQUEST="https://github.com/${GITHUB_REPOSITORY}/pull/$(cat $GITHUB_EVENT_PATH | jq -r .number)" - export CI_BRANCH=${GITHUB_REF#"ref/heads"} - export CI_BRANCH=${HEAD_REF} - echo "${CI_BRANCH}" + export TRAVIS_BRANCH=${GITHUB_REF#"ref/heads"} + export TRAVIS_BRANCH=${HEAD_REF} + echo "${TRAVIS_BRANCH}" coveralls || true - name: Backtesting