fixing refresh argument ...

This commit is contained in:
Jean-Baptiste LE STANG 2018-01-02 14:05:27 +01:00
parent c72e9c3cef
commit 9e7a4c3717

View File

@ -97,7 +97,7 @@ class Bittrex(Exchange):
return data['result']
def get_ticker(self, pair: str, refresh: Optional[bool] = True) -> dict:
data = _API.get_ticker(pair.replace('_', '-'), refresh)
data = _API.get_ticker(pair.replace('_', '-'))
if refresh or pair not in self.cached_ticker.keys():
if not data['success']:
Bittrex._validate_response(data)