mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 18:23:55 +00:00
force refresh is the value has never been set
This commit is contained in:
parent
8175eaa48a
commit
c72e9c3cef
|
@ -98,7 +98,7 @@ class Bittrex(Exchange):
|
|||
|
||||
def get_ticker(self, pair: str, refresh: Optional[bool] = True) -> dict:
|
||||
data = _API.get_ticker(pair.replace('_', '-'), refresh)
|
||||
if refresh:
|
||||
if refresh or pair not in self.cached_ticker.keys():
|
||||
if not data['success']:
|
||||
Bittrex._validate_response(data)
|
||||
raise OperationalException('{message} params=({pair})'.format(
|
||||
|
|
Loading…
Reference in New Issue
Block a user