Update exchange validate_pairs and related tests

This commit is contained in:
enenn
2018-04-09 19:21:35 +02:00
parent c3d00a8825
commit cba8745164
2 changed files with 8 additions and 5 deletions

View File

@@ -107,7 +107,7 @@ def validate_pairs(pairs: List[str]) -> None:
)
if pair not in markets:
raise OperationalException(
'Pair {} is not available at {}'.format(pair, _API.id.lower()))
'Pair {} is not available at {}'.format(pair, get_name()))
def exchange_has(endpoint: str) -> bool: