From a7d6efdcd66f423e0488a04c69037bf97de987a8 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 16 Sep 2023 09:23:03 +0200 Subject: [PATCH] Fix order amounts in test --- tests/test_freqtradebot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_freqtradebot.py b/tests/test_freqtradebot.py index 24caf2ce1..f5aa57ba3 100644 --- a/tests/test_freqtradebot.py +++ b/tests/test_freqtradebot.py @@ -2991,6 +2991,8 @@ def test_manage_open_orders_exit_usercustom( is_short, open_trade_usdt, caplog ) -> None: default_conf_usdt["unfilledtimeout"] = {"entry": 1440, "exit": 1440, "exit_timeout_count": 1} + limit_sell_order_old['amount'] = open_trade_usdt.amount + limit_sell_order_old['remaining'] = open_trade_usdt.amount if is_short: limit_sell_order_old['side'] = 'buy'