forked from kodorvan/stcs
Added the ability to summarize all commissions within a series.Minor bugs have been fixed
This commit is contained in:
@@ -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"
|
||||||
|
Reference in New Issue
Block a user