diff --git a/freqtrade/exchange/binance.py b/freqtrade/exchange/binance.py index 314337c3e..8c442cd26 100644 --- a/freqtrade/exchange/binance.py +++ b/freqtrade/exchange/binance.py @@ -33,6 +33,7 @@ class Binance(Exchange): } _ft_has_futures: Dict = { "stoploss_order_types": {"limit": "stop"}, + "tickers_have_price": False, } _supported_trading_mode_margin_pairs: List[Tuple[TradingMode, MarginMode]] = [ diff --git a/freqtrade/exchange/exchange.py b/freqtrade/exchange/exchange.py index a84a63edb..5d6786476 100644 --- a/freqtrade/exchange/exchange.py +++ b/freqtrade/exchange/exchange.py @@ -67,7 +67,8 @@ class Exchange: "ohlcv_partial_candle": True, # Check https://github.com/ccxt/ccxt/issues/10767 for removal of ohlcv_volume_currency "ohlcv_volume_currency": "base", # "base" or "quote" - "tickers_has_quoteVolume": True, + "tickers_have_quoteVolume": True, + "tickers_have_price": True, "trades_pagination": "time", # Possible are "time" or "id" "trades_pagination_arg": "since", "l2_limit_range": None, diff --git a/freqtrade/exchange/okx.py b/freqtrade/exchange/okx.py index aa4390b31..a21da2344 100644 --- a/freqtrade/exchange/okx.py +++ b/freqtrade/exchange/okx.py @@ -24,7 +24,7 @@ class Okx(Exchange): "funding_fee_timeframe": "8h", } _ft_has_futures: Dict = { - "tickers_has_quoteVolume": False, + "tickers_have_quoteVolume": False, } _supported_trading_mode_margin_pairs: List[Tuple[TradingMode, MarginMode]] = [ diff --git a/freqtrade/plugins/pairlist/VolumePairList.py b/freqtrade/plugins/pairlist/VolumePairList.py index 688305b5a..26e7d45be 100644 --- a/freqtrade/plugins/pairlist/VolumePairList.py +++ b/freqtrade/plugins/pairlist/VolumePairList.py @@ -73,7 +73,7 @@ class VolumePairList(IPairList): if (not self._use_range and not ( self._exchange.exchange_has('fetchTickers') - and self._exchange._ft_has["tickers_has_quoteVolume"])): + and self._exchange._ft_has["tickers_have_quoteVolume"])): raise OperationalException( "Exchange does not support dynamic whitelist in this configuration. " "Please edit your config and either remove Volumepairlist, "