Update freqtradebot.py

This commit is contained in:
Kavinkumar
2022-03-10 12:29:56 +05:30
committed by GitHub
parent 738752d50d
commit 65da993e7e

View File

@@ -1306,8 +1306,8 @@ class FreqtradeBot(LoggingMixin):
'fiat_currency': self.config.get('fiat_display_currency', None), 'fiat_currency': self.config.get('fiat_display_currency', None),
'sub_trade': sub_trade, 'sub_trade': sub_trade,
} }
if sub_trade: if sub_trade:
msg['cumulative_profit'] = trade.realized_profit, msg['cumulative_profit'] = trade.realized_profit,
# Send the message # Send the message
self.rpc.send_msg(msg) self.rpc.send_msg(msg)