Rename tickers_has_quoteVolume

This commit is contained in:
Matthias 2022-03-18 16:49:37 +01:00
parent 1de5d2fb94
commit 2791e799ee
4 changed files with 5 additions and 3 deletions

View File

@ -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]] = [

View File

@ -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,

View File

@ -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]] = [

View File

@ -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, "