Changed future to swap

This commit is contained in:
Sam Germain 2021-10-23 13:48:18 -06:00
parent 1fa2600ee2
commit ed91516f90
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ class Gateio(Exchange):
elif self.trading_mode == TradingMode.FUTURES:
return {
"options": {
"defaultType": "future"
"defaultType": "swap"
}
}
else:

View File

@ -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,