diff --git a/freqtrade/constants.py b/freqtrade/constants.py index 86c1d71cd..4d8894c26 100644 --- a/freqtrade/constants.py +++ b/freqtrade/constants.py @@ -42,6 +42,7 @@ HYPEROPT_LOSS_BUILTIN = [ AVAILABLE_PAIRLISTS = [ "StaticPairList", "VolumePairList", + "PercentVolumeChangePairList", "ProducerPairList", "RemotePairList", "MarketCapPairList", diff --git a/tests/plugins/test_pairlist.py b/tests/plugins/test_pairlist.py index 37ebdc58b..e5a19ea74 100644 --- a/tests/plugins/test_pairlist.py +++ b/tests/plugins/test_pairlist.py @@ -31,9 +31,11 @@ from tests.conftest import ( ) -# Exclude RemotePairList from tests. -# It has a mandatory parameter, and requires special handling, which happens in test_remotepairlist. -TESTABLE_PAIRLISTS = [p for p in AVAILABLE_PAIRLISTS if p not in ["RemotePairList"]] +# Exclude RemotePairList and PercentVolumeChangePairList from tests. +# They have mandatory parameters, and requires special handling, +# which happens in test_remotepairlist and test_percentvolumechangepairlist. +TESTABLE_PAIRLISTS = [p for p in AVAILABLE_PAIRLISTS + if p not in ["RemotePairList", "PercentVolumeChangePairList"]] @pytest.fixture(scope="function")