mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 18:23:55 +00:00
fixing refresh argument ...
This commit is contained in:
parent
165781a545
commit
90d3c09536
|
@ -97,7 +97,7 @@ class Bittrex(Exchange):
|
||||||
return data['result']
|
return data['result']
|
||||||
|
|
||||||
def get_ticker(self, pair: str, refresh: Optional[bool] = True) -> dict:
|
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 refresh or pair not in self.cached_ticker.keys():
|
||||||
if not data['success']:
|
if not data['success']:
|
||||||
Bittrex._validate_response(data)
|
Bittrex._validate_response(data)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user