Don't refresh tickers if they are not needed

This commit is contained in:
Matthias
2019-11-09 07:05:17 +01:00
parent e632720c02
commit b610e8c7e6
6 changed files with 57 additions and 7 deletions

View File

@@ -38,6 +38,15 @@ class VolumePairList(IPairList):
raise OperationalException(
f'key {self._sort_key} not in {SORT_VALUES}')
@property
def needstickers(self) -> bool:
"""
Boolean property defining if tickers are necessary.
If no Pairlist requries tickers, an empty List is passed
as tickers argument to filter_pairlist
"""
return True
def _validate_keys(self, key):
return key in SORT_VALUES