Update freqtradebot.py

This commit is contained in:
Kavinkumar 2022-03-13 18:40:40 +05:30 committed by GitHub
parent fd52702772
commit 7f72ebd88f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1313,7 +1313,7 @@ class FreqtradeBot(LoggingMixin):
'sub_trade': sub_trade,
}
if sub_trade:
msg['cumulative_profit'] = trade.realized_profit,
msg['cumulative_profit'] = trade.realized_profit
# Send the message
self.rpc.send_msg(msg)