mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Merge pull request #10564 from iridescentGray/develop
chore: fix test param
This commit is contained in:
commit
3dce1d32f9
|
@ -640,7 +640,7 @@ def test__get_stop_params_okx(mocker, default_conf):
|
|||
default_conf["trading_mode"] = "futures"
|
||||
default_conf["margin_mode"] = "isolated"
|
||||
exchange = get_patched_exchange(mocker, default_conf, exchange="okx")
|
||||
params = exchange._get_stop_params("ETH/USDT:USDT", 1500, "sell")
|
||||
params = exchange._get_stop_params("sell", "market", 1500)
|
||||
|
||||
assert params["tdMode"] == "isolated"
|
||||
assert params["posSide"] == "net"
|
||||
|
|
Loading…
Reference in New Issue
Block a user