Updated bibox to combine parent _ccxt_config and minimized _ccxt_config tests
This commit is contained in:
parent
3d86b18492
commit
099bf7691e
@ -23,6 +23,8 @@ class Bibox(Exchange):
|
|||||||
@property
|
@property
|
||||||
def _ccxt_config(self) -> Dict:
|
def _ccxt_config(self) -> Dict:
|
||||||
# Parameters to add directly to ccxt sync/async initialization.
|
# Parameters to add directly to ccxt sync/async initialization.
|
||||||
return {"has": {"fetchCurrencies": False}}
|
config = {"has": {"fetchCurrencies": False}}
|
||||||
|
config.update(super()._ccxt_config)
|
||||||
|
return config
|
||||||
|
|
||||||
funding_fee_times: List[int] = [0, 8, 16] # hours of the day
|
funding_fee_times: List[int] = [0, 8, 16] # hours of the day
|
||||||
|
@ -3253,9 +3253,10 @@ def test_validate_trading_mode_and_collateral(
|
|||||||
("binance", "spot", {}),
|
("binance", "spot", {}),
|
||||||
("binance", "margin", {"options": {"defaultType": "margin"}}),
|
("binance", "margin", {"options": {"defaultType": "margin"}}),
|
||||||
("binance", "futures", {"options": {"defaultType": "future"}}),
|
("binance", "futures", {"options": {"defaultType": "future"}}),
|
||||||
("gateio", "spot", {}),
|
|
||||||
("gateio", "margin", {"options": {"defaultType": "margin"}}),
|
|
||||||
("gateio", "futures", {"options": {"defaultType": "swap"}}),
|
("gateio", "futures", {"options": {"defaultType": "swap"}}),
|
||||||
|
("bibox", "spot", {"has": {"fetchCurrencies": False}}),
|
||||||
|
("bibox", "margin", {"has": {"fetchCurrencies": False}, "options": {"defaultType": "margin"}}),
|
||||||
|
("bibox", "futures", {"has": {"fetchCurrencies": False}, "options": {"defaultType": "swap"}}),
|
||||||
])
|
])
|
||||||
def test__ccxt_config(
|
def test__ccxt_config(
|
||||||
default_conf,
|
default_conf,
|
||||||
|
Loading…
Reference in New Issue
Block a user