Changed future to swap
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user