From 5f696a0cce492fce1d565acda233a5b83f9b25b6 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste LE STANG Date: Tue, 2 Jan 2018 14:09:56 +0100 Subject: [PATCH] really fixing --- freqtrade/exchange/bittrex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/exchange/bittrex.py b/freqtrade/exchange/bittrex.py index 139f2896f..4883db037 100644 --- a/freqtrade/exchange/bittrex.py +++ b/freqtrade/exchange/bittrex.py @@ -97,8 +97,8 @@ class Bittrex(Exchange): return data['result'] def get_ticker(self, pair: str, refresh: Optional[bool] = True) -> dict: - data = _API.get_ticker(pair.replace('_', '-')) if refresh or pair not in self.cached_ticker.keys(): + data = _API.get_ticker(pair.replace('_', '-')) if not data['success']: Bittrex._validate_response(data) raise OperationalException('{message} params=({pair})'.format(