Include realized_profit in update_dry

closes #8877
pull/8914/head
Matthias 3 years ago
parent d0e0e156b1
commit cf9ba527bb

@ -84,6 +84,7 @@ class Wallets:
tot_profit = Trade.get_total_closed_profit()
else:
tot_profit = LocalTrade.total_profit
tot_profit += sum(trade.realized_profit for trade in open_trades)
tot_in_trades = sum(trade.stake_amount for trade in open_trades)
used_stake = 0.0

Loading…
Cancel
Save