Rename tickers_has_quoteVolume
This commit is contained in:
parent
1de5d2fb94
commit
2791e799ee
@ -33,6 +33,7 @@ class Binance(Exchange):
|
|||||||
}
|
}
|
||||||
_ft_has_futures: Dict = {
|
_ft_has_futures: Dict = {
|
||||||
"stoploss_order_types": {"limit": "stop"},
|
"stoploss_order_types": {"limit": "stop"},
|
||||||
|
"tickers_have_price": False,
|
||||||
}
|
}
|
||||||
|
|
||||||
_supported_trading_mode_margin_pairs: List[Tuple[TradingMode, MarginMode]] = [
|
_supported_trading_mode_margin_pairs: List[Tuple[TradingMode, MarginMode]] = [
|
||||||
|
@ -67,7 +67,8 @@ class Exchange:
|
|||||||
"ohlcv_partial_candle": True,
|
"ohlcv_partial_candle": True,
|
||||||
# Check https://github.com/ccxt/ccxt/issues/10767 for removal of ohlcv_volume_currency
|
# Check https://github.com/ccxt/ccxt/issues/10767 for removal of ohlcv_volume_currency
|
||||||
"ohlcv_volume_currency": "base", # "base" or "quote"
|
"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": "time", # Possible are "time" or "id"
|
||||||
"trades_pagination_arg": "since",
|
"trades_pagination_arg": "since",
|
||||||
"l2_limit_range": None,
|
"l2_limit_range": None,
|
||||||
|
@ -24,7 +24,7 @@ class Okx(Exchange):
|
|||||||
"funding_fee_timeframe": "8h",
|
"funding_fee_timeframe": "8h",
|
||||||
}
|
}
|
||||||
_ft_has_futures: Dict = {
|
_ft_has_futures: Dict = {
|
||||||
"tickers_has_quoteVolume": False,
|
"tickers_have_quoteVolume": False,
|
||||||
}
|
}
|
||||||
|
|
||||||
_supported_trading_mode_margin_pairs: List[Tuple[TradingMode, MarginMode]] = [
|
_supported_trading_mode_margin_pairs: List[Tuple[TradingMode, MarginMode]] = [
|
||||||
|
@ -73,7 +73,7 @@ class VolumePairList(IPairList):
|
|||||||
|
|
||||||
if (not self._use_range and not (
|
if (not self._use_range and not (
|
||||||
self._exchange.exchange_has('fetchTickers')
|
self._exchange.exchange_has('fetchTickers')
|
||||||
and self._exchange._ft_has["tickers_has_quoteVolume"])):
|
and self._exchange._ft_has["tickers_have_quoteVolume"])):
|
||||||
raise OperationalException(
|
raise OperationalException(
|
||||||
"Exchange does not support dynamic whitelist in this configuration. "
|
"Exchange does not support dynamic whitelist in this configuration. "
|
||||||
"Please edit your config and either remove Volumepairlist, "
|
"Please edit your config and either remove Volumepairlist, "
|
||||||
|
Loading…
Reference in New Issue
Block a user