2
0
forked from kodorvan/stcs

Added the ability to summarize all commissions within a series.Minor bugs have been fixed

This commit is contained in:
algizn97
2025-10-10 14:00:28 +05:00
parent 3ec9d00650
commit e40fa91125

View File

@@ -135,9 +135,9 @@ class TelegramMessageHandler:
user_symbols = user_auto_trading.symbol if user_auto_trading else None user_symbols = user_auto_trading.symbol if user_auto_trading else None
if ( if (
auto_trading auto_trading
and safe_float(closed_size) > 0 and safe_float(closed_size) > 0
and user_symbols is not None and user_symbols is not None
): ):
if safe_float(total_pnl) > 0: if safe_float(total_pnl) > 0:
profit_text = "📈 Прибыль достигнута\n" profit_text = "📈 Прибыль достигнута\n"