removed TODO-levs about okex liquidation price
This commit is contained in:
@@ -3451,9 +3451,7 @@ def test_set_margin_mode(mocker, default_conf, collateral):
|
||||
|
||||
("binance", TradingMode.FUTURES, Collateral.ISOLATED, False),
|
||||
("gateio", TradingMode.FUTURES, Collateral.ISOLATED, False),
|
||||
|
||||
# ("okex", TradingMode.FUTURES, Collateral.ISOLATED, False), # TODO-lev: uncomment once impleme
|
||||
("okex", TradingMode.FUTURES, Collateral.ISOLATED, True), # TODO-lev: remove once implemented
|
||||
("okex", TradingMode.FUTURES, Collateral.ISOLATED, False),
|
||||
|
||||
# * Remove once implemented
|
||||
("binance", TradingMode.MARGIN, Collateral.CROSS, True),
|
||||
|
@@ -712,13 +712,14 @@ def test_process_informative_pairs_added(default_conf_usdt, ticker_usdt, mocker)
|
||||
(True, 'spot', 'binance', None, None),
|
||||
(False, 'spot', 'gateio', None, None),
|
||||
(True, 'spot', 'gateio', None, None),
|
||||
(False, 'spot', 'okex', None, None),
|
||||
(True, 'spot', 'okex', None, None),
|
||||
(True, 'futures', 'binance', 'isolated', 11.89108910891089),
|
||||
(False, 'futures', 'binance', 'isolated', 8.070707070707071),
|
||||
(True, 'futures', 'gateio', 'isolated', 11.87413417771621),
|
||||
(False, 'futures', 'gateio', 'isolated', 8.085708510208207),
|
||||
# TODO-lev: Okex
|
||||
# (False, 'spot', 'okex', 'isolated', ...),
|
||||
# (True, 'futures', 'okex', 'isolated', ...),
|
||||
(True, 'futures', 'okex', 'isolated', 11.87413417771621),
|
||||
(False, 'futures', 'okex', 'isolated', 8.085708510208207),
|
||||
])
|
||||
def test_execute_entry(mocker, default_conf_usdt, fee, limit_order,
|
||||
limit_order_open, is_short, trading_mode,
|
||||
|
Reference in New Issue
Block a user