test: Update test to reflect new total_profit calculation

This commit is contained in:
Matthias
2025-04-07 19:28:39 +02:00
parent f1b890954a
commit a3d3a4de51

View File

@@ -197,7 +197,7 @@ def test_rpc_trade_status(default_conf, ticker, fee, mocker) -> None:
response.update( response.update(
{ {
"max_stake_amount": 0.001, "max_stake_amount": 0.001,
"total_profit_ratio": pytest.approx(-0.00409153), "total_profit_ratio": pytest.approx(-0.00408133),
"has_open_orders": False, "has_open_orders": False,
} }
) )