mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-02-28 07:13:14 +00:00
Split trademode response value into trade_mode and margin-mode
This commit is contained in:
@@ -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": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user