Changed future to swap
This commit is contained in:
parent
1fa2600ee2
commit
ed91516f90
@ -47,7 +47,7 @@ class Gateio(Exchange):
|
||||
elif self.trading_mode == TradingMode.FUTURES:
|
||||
return {
|
||||
"options": {
|
||||
"defaultType": "future"
|
||||
"defaultType": "swap"
|
||||
}
|
||||
}
|
||||
else:
|
||||
|
@ -3262,7 +3262,7 @@ def test_validate_trading_mode_and_collateral(
|
||||
("bittrex", "spot", {}),
|
||||
("gateio", "spot", {}),
|
||||
("gateio", "margin", {"options": {"defaultType": "margin"}}),
|
||||
("gateio", "futures", {"options": {"defaultType": "future"}}),
|
||||
("gateio", "futures", {"options": {"defaultType": "swap"}}),
|
||||
])
|
||||
def test__ccxt_config(
|
||||
default_conf,
|
||||
|
Loading…
Reference in New Issue
Block a user