From 42f0f8ddc0a710bfa128127deccbce8cfa42606c Mon Sep 17 00:00:00 2001 From: algizn97 Date: Thu, 23 Oct 2025 11:31:15 +0500 Subject: [PATCH] The text has been corrected --- app/telegram/handlers/stop_trading.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/telegram/handlers/stop_trading.py b/app/telegram/handlers/stop_trading.py index 12558ff..719dfa1 100644 --- a/app/telegram/handlers/stop_trading.py +++ b/app/telegram/handlers/stop_trading.py @@ -51,9 +51,9 @@ async def stop_all_trading(callback_query: CallbackQuery, state: FSMContext): ) await close_position_by_symbol( tg_id=callback_query.from_user.id, symbol=symbol) - await callback_query.message.edit_text(text="Торговля остановлена", reply_markup=kbi.profile_bybit) + await callback_query.message.edit_text(text=f"Торговля для {symbol} остановлена", reply_markup=kbi.profile_bybit) else: - await callback_query.message.edit_text(text="Нет активной торговли", reply_markup=kbi.profile_bybit) + await callback_query.message.edit_text(text=f"Нет активной торговли для {symbol}", reply_markup=kbi.profile_bybit) task = asyncio.create_task(delay_start()) await add_stop_task(user_id=callback_query.from_user.id, task=task)