Improve final exit message

This commit is contained in:
Matthias
2023-12-29 18:15:37 +01:00
parent e5e3002d45
commit b62661d8cd
3 changed files with 18 additions and 6 deletions

View File

@@ -1824,6 +1824,8 @@ class FreqtradeBot(LoggingMixin):
'fiat_currency': self.config.get('fiat_display_currency'),
'sub_trade': sub_trade,
'cumulative_profit': trade.realized_profit,
'final_profit_ratio': trade.close_profit if not trade.is_open else None,
'is_final_exit': trade.is_open is False,
}
# Send the message