From 68be56240dacdb0ebcc56ec4dbbfcd09ea8ec89c Mon Sep 17 00:00:00 2001 From: colorfulgray0 Date: Wed, 21 Aug 2024 17:46:58 +0800 Subject: [PATCH] chore: fix test param --- tests/exchange/test_okx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/exchange/test_okx.py b/tests/exchange/test_okx.py index df428010f..97f8a3a4c 100644 --- a/tests/exchange/test_okx.py +++ b/tests/exchange/test_okx.py @@ -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"