Move pairlists to be a plugin submodule

This commit is contained in:
Matthias
2020-12-23 16:54:35 +01:00
parent 7cef5ac217
commit 67193bca3d
19 changed files with 26 additions and 26 deletions

View File

@@ -6,7 +6,7 @@ This module load custom pairlists
import logging
from pathlib import Path
from freqtrade.pairlist.IPairList import IPairList
from freqtrade.plugins.pairlist.IPairList import IPairList
from freqtrade.resolvers import IResolver
@@ -20,7 +20,7 @@ class PairListResolver(IResolver):
object_type = IPairList
object_type_str = "Pairlist"
user_subdir = None
initial_search_path = Path(__file__).parent.parent.joinpath('pairlist').resolve()
initial_search_path = Path(__file__).parent.parent.joinpath('plugins/pairlist').resolve()
@staticmethod
def load_pairlist(pairlist_name: str, exchange, pairlistmanager,