Update /profit telegram message to support non-closed trades

This commit is contained in:
Matthias
2020-05-29 09:38:12 +02:00
parent 6261aef314
commit 1d6e3fea85
4 changed files with 24 additions and 15 deletions

View File

@@ -431,7 +431,8 @@ def test_api_profit(botclient, mocker, ticker, fee, markets, limit_buy_order, li
'profit_closed_coin': 6.217e-05,
'profit_closed_fiat': 0,
'profit_closed_percent': 6.2,
'trade_count': 1
'trade_count': 1,
'closed_trade_count': 1,
}