Remove pair market url

This commit is contained in:
Matthias
2019-02-25 20:16:34 +01:00
parent ee0e381d65
commit 6c75b8a36a
4 changed files with 3 additions and 18 deletions

View File

@@ -654,16 +654,6 @@ class Exchange(object):
except ccxt.BaseError as e:
raise OperationalException(e)
def get_pair_detail_url(self, pair: str) -> str:
try:
url_base = self._api.urls.get('www')
base, quote = pair.split('/')
return url_base + _EXCHANGE_URLS[self._api.id].format(base=base, quote=quote)
except KeyError:
logger.warning('Could not get exchange url for %s', self.name)
return ""
@retrier
def get_markets(self) -> List[dict]:
try: