pass pairlist position into the pairlists

This commit is contained in:
Matthias
2019-11-09 15:04:04 +01:00
parent ae35649366
commit 7ff61f12e9
7 changed files with 39 additions and 20 deletions

View File

@@ -21,7 +21,7 @@ class PairListResolver(IResolver):
__slots__ = ['pairlist']
def __init__(self, pairlist_name: str, exchange, pairlistmanager,
config: dict, pairlistconfig) -> None:
config: dict, pairlistconfig: dict, pairlist_pos: int) -> None:
"""
Load the custom class from config parameter
:param config: configuration dictionary or None
@@ -30,7 +30,8 @@ class PairListResolver(IResolver):
kwargs={'exchange': exchange,
'pairlistmanager': pairlistmanager,
'config': config,
'pairlistconfig': pairlistconfig})
'pairlistconfig': pairlistconfig,
'pairlist_pos': pairlist_pos})
def _load_pairlist(
self, pairlist_name: str, config: dict, kwargs: dict) -> IPairList: