Include realized_profit in api output

This commit is contained in:
Matthias
2023-02-27 20:31:02 +01:00
parent 75d1dd2793
commit 46b987042b
2 changed files with 3 additions and 0 deletions

View File

@@ -1015,6 +1015,7 @@ def test_api_status(botclient, mocker, ticker, fee, markets, is_short,
'profit_pct': ANY,
'profit_abs': ANY,
'profit_fiat': ANY,
'realized_profit': 0.0,
'current_rate': current_rate,
'open_date': ANY,
'open_timestamp': ANY,
@@ -1244,6 +1245,7 @@ def test_api_force_entry(botclient, mocker, fee, endpoint):
'profit_pct': None,
'profit_abs': None,
'profit_fiat': None,
'realized_profit': 0.0,
'fee_close': 0.0025,
'fee_close_cost': None,
'fee_close_currency': None,