test: update further tests for precision_mode_price

This commit is contained in:
Matthias 2024-08-13 09:23:43 +02:00
parent 350c2241c4
commit d7bee0c9e0
2 changed files with 2 additions and 0 deletions

View File

@ -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": [

View File

@ -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