Temporarily disable gate advanced stop orders

This commit is contained in:
Matthias
2023-02-07 07:13:01 +01:00
parent e964377edf
commit 8c0c2496c2
3 changed files with 14 additions and 11 deletions

View File

@@ -1070,9 +1070,9 @@ def test_validate_ordertypes(default_conf, mocker):
# ('okx', 'last', True),
# ('okx', 'mark', True),
# ('okx', 'index', True),
('gate', 'last', True),
('gate', 'mark', True),
('gate', 'index', True),
('gate', 'last', False),
('gate', 'mark', False),
('gate', 'index', False),
])
def test_validate_ordertypes_stop_advanced(default_conf, mocker, exchange_name, stopadv, expected):

View File

@@ -18,8 +18,8 @@ def test_validate_order_types_gateio(default_conf, mocker):
mocker.patch('freqtrade.exchange.Exchange.validate_timeframes')
mocker.patch('freqtrade.exchange.Exchange.validate_stakecurrency')
mocker.patch('freqtrade.exchange.Exchange.validate_pricing')
mocker.patch('freqtrade.exchange.Exchange.name', 'Bittrex')
exch = ExchangeResolver.load_exchange('gateio', default_conf, True)
mocker.patch('freqtrade.exchange.Exchange.name', 'Gate')
exch = ExchangeResolver.load_exchange('gate', default_conf, True)
assert isinstance(exch, Gateio)
default_conf['order_types'] = {