Rename get_ticker to fetch_ticker

This commit is contained in:
Matthias
2019-12-18 16:34:30 +01:00
parent ce190a7485
commit 21622ac313
8 changed files with 136 additions and 136 deletions

View File

@@ -524,7 +524,7 @@ class Exchange:
raise OperationalException(e) from e
@retrier
def get_ticker(self, pair: str, refresh: Optional[bool] = True) -> dict:
def fetch_ticker(self, pair: str, refresh: Optional[bool] = True) -> dict:
if refresh or pair not in self._cached_ticker.keys():
try:
if pair not in self._api.markets or not self._api.markets[pair].get('active'):