mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 08:33:07 +00:00
test: Update test to reflect new total_profit calculation
This commit is contained in:
@@ -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,
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user