From d7bee0c9e071cc73203109e11db95a15ca1957d7 Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 13 Aug 2024 09:23:43 +0200 Subject: [PATCH] test: update further tests for precision_mode_price --- tests/rpc/test_rpc.py | 1 + tests/strategy/test_interface.py | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/rpc/test_rpc.py b/tests/rpc/test_rpc.py index a0c235cd5..e0eaabe24 100644 --- a/tests/rpc/test_rpc.py +++ b/tests/rpc/test_rpc.py @@ -96,6 +96,7 @@ def test_rpc_trade_status(default_conf, ticker, fee, mocker) -> None: "amount_precision": 8.0, "price_precision": 8.0, "precision_mode": 2, + "precision_mode_price": 2, "contract_size": 1, "has_open_orders": False, "orders": [ diff --git a/tests/strategy/test_interface.py b/tests/strategy/test_interface.py index ab87e110e..5459a0ff2 100644 --- a/tests/strategy/test_interface.py +++ b/tests/strategy/test_interface.py @@ -579,6 +579,7 @@ def test_ft_stoploss_reached( liquidation_price=liq, price_precision=4, precision_mode=2, + precision_mode_price=2, ) trade.adjust_min_max_rates(trade.open_rate, trade.open_rate) strategy.trailing_stop = trailing