From 54bc60b08f617e765ab0aa456718bdf920f4378e Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 13 Aug 2024 09:10:50 +0200 Subject: [PATCH] test: Update test for new to-json field --- tests/persistence/test_persistence.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/persistence/test_persistence.py b/tests/persistence/test_persistence.py index e50f1f8ce..05160c74a 100644 --- a/tests/persistence/test_persistence.py +++ b/tests/persistence/test_persistence.py @@ -1404,6 +1404,7 @@ def test_to_json(fee): exchange="binance", enter_tag=None, precision_mode=1, + precision_mode_price=1, amount_precision=8.0, price_precision=7.0, contract_size=1, @@ -1473,6 +1474,7 @@ def test_to_json(fee): "amount_precision": 8.0, "price_precision": 7.0, "precision_mode": 1, + "precision_mode_price": 1, "contract_size": 1, "orders": [], "has_open_orders": False, @@ -1493,6 +1495,7 @@ def test_to_json(fee): enter_tag="buys_signal_001", exchange="binance", precision_mode=2, + precision_mode_price=1, amount_precision=7.0, price_precision=8.0, contract_size=1, @@ -1562,6 +1565,7 @@ def test_to_json(fee): "amount_precision": 7.0, "price_precision": 8.0, "precision_mode": 2, + "precision_mode_price": 1, "contract_size": 1, "orders": [], "has_open_orders": False,