devel #19

Merged
Arsen Mirzaev Tatyano-Muradovich merged 2 commits from Alex/stcs:devel into stable 2025-10-23 14:35:32 +07:00
7 changed files with 35 additions and 83 deletions
Showing only changes of commit 42f0f8ddc0 - Show all commits

View File

@@ -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)