Split trademode response value into trade_mode and margin-mode

This commit is contained in:
Matthias
2023-06-03 11:46:01 +02:00
parent 72f4e1475c
commit ac7419e975
5 changed files with 30 additions and 13 deletions

View File

@@ -1593,8 +1593,14 @@ def test_api_exchanges(botclient):
"supported": True,
"comment": "",
"trade_modes": [
"spot",
"isolated futures",
{
"trading_mode": "spot",
"margin_mode": ""
},
{
"trading_mode": "futures",
"margin_mode": "isolated"
}
]
}
@@ -1605,8 +1611,11 @@ def test_api_exchanges(botclient):
"supported": False,
"comment": "",
"trade_modes": [
"spot",
]
{
"trading_mode": "spot",
"margin_mode": ""
}
]
}