Update gateio terminology to Gate
This commit is contained in:
@@ -137,7 +137,7 @@ EXCHANGES = {
|
||||
'tradeType': 'TRADE'
|
||||
}],
|
||||
},
|
||||
'gateio': {
|
||||
'gate': {
|
||||
'pair': 'BTC/USDT',
|
||||
'stake_currency': 'USDT',
|
||||
'hasQuoteVolume': True,
|
||||
@@ -357,8 +357,8 @@ class TestCCXTExchange():
|
||||
'stoploss': 'limit',
|
||||
})
|
||||
|
||||
if exchangename == 'gateio':
|
||||
# gateio doesn't have market orders on spot
|
||||
if exchangename == 'gate':
|
||||
# gate doesn't have market orders on spot
|
||||
return
|
||||
exch.validate_ordertypes({
|
||||
'entry': 'market',
|
||||
@@ -421,7 +421,7 @@ class TestCCXTExchange():
|
||||
|
||||
def test_ccxt_fetch_tickers_futures(self, exchange_futures: EXCHANGE_FIXTURE_TYPE):
|
||||
exch, exchangename = exchange_futures
|
||||
if not exch or exchangename in ('gateio'):
|
||||
if not exch or exchangename in ('gate'):
|
||||
# exchange_futures only returns values for supported exchanges
|
||||
return
|
||||
|
||||
@@ -461,8 +461,8 @@ class TestCCXTExchange():
|
||||
assert len(l2['bids']) >= 1
|
||||
l2_limit_range = exch._ft_has['l2_limit_range']
|
||||
l2_limit_range_required = exch._ft_has['l2_limit_range_required']
|
||||
if exchangename == 'gateio':
|
||||
# TODO: Gateio is unstable here at the moment, ignoring the limit partially.
|
||||
if exchangename == 'gate':
|
||||
# TODO: Gate is unstable here at the moment, ignoring the limit partially.
|
||||
return
|
||||
for val in [1, 2, 5, 25, 100]:
|
||||
l2 = exch.fetch_l2_order_book(pair, val)
|
||||
|
||||
Reference in New Issue
Block a user