fixing refresh argument ...
This commit is contained in:
parent
3a0569cfd3
commit
ce6f6ab9fe
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user