From 65da993e7eded56aca18901180ec62ba9390fce3 Mon Sep 17 00:00:00 2001 From: Kavinkumar <33546454+mkavinkumar1@users.noreply.github.com> Date: Thu, 10 Mar 2022 12:29:56 +0530 Subject: [PATCH] Update freqtradebot.py --- freqtrade/freqtradebot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)