removed test_ccxt_get_maintenance_ratio_and_amt

This commit is contained in:
Sam Germain 2022-02-16 09:03:50 -06:00
parent a1e9e940dd
commit dc73fccd3c

View File

@ -134,7 +134,6 @@ def exchange_futures(request, exchange_conf, class_mocker):
yield exchange, request.param yield exchange, request.param
@pytest.mark.longrun
class TestCCXTExchange(): class TestCCXTExchange():
def test_load_markets(self, exchange): def test_load_markets(self, exchange):
@ -380,14 +379,19 @@ class TestCCXTExchange():
oldNotionalFloor = tier['notionalFloor'] oldNotionalFloor = tier['notionalFloor']
oldNotionalCap = tier['notionalCap'] oldNotionalCap = tier['notionalCap']
# def test_ccxt_get_liquidation_price(): def test_ccxt_get_liquidation_price():
# return # TODO-lev return # TODO-lev
# def test_ccxt_liquidation_price(): def test_ccxt_liquidation_price():
# return # TODO-lev return # TODO-lev
# def test_ccxt_get_max_pair_stake_amount(): def test_ccxt_get_max_pair_stake_amount(self, exchange_futures):
# return # TODO-lev futures, futures_name = exchange_futures
if futures:
# def test_ccxt_get_maintenance_ratio_and_amt(): futures_pair = EXCHANGES[futures_name].get(
# return # TODO-lev 'futures_pair',
EXCHANGES[futures_name]['pair']
)
max_stake_amount = futures.get_max_pair_stake_amount(futures_pair, 40000)
assert (isinstance(max_stake_amount, float))
assert max_stake_amount >= 0.0