diff --git a/freqtrade/freqtradebot.py b/freqtrade/freqtradebot.py index 61dd78615..ad19cfe7c 100644 --- a/freqtrade/freqtradebot.py +++ b/freqtrade/freqtradebot.py @@ -1306,8 +1306,8 @@ class FreqtradeBot(LoggingMixin): 'fiat_currency': self.config.get('fiat_display_currency', None), 'sub_trade': sub_trade, } - if sub_trade: - msg['cumulative_profit'] = trade.realized_profit, + if sub_trade: + msg['cumulative_profit'] = trade.realized_profit, # Send the message self.rpc.send_msg(msg)