devel #11

Merged
Arsen Mirzaev Tatyano-Muradovich merged 47 commits from Alex/stcs:devel into stable 2025-10-11 11:58:37 +07:00
35 changed files with 1310 additions and 773 deletions
Showing only changes of commit aa9f04c27e - Show all commits

View File

@@ -45,12 +45,10 @@ async def stop_all_trading(callback_query: CallbackQuery, state: FSMContext):
for active_auto_trading in user_auto_trading_list: for active_auto_trading in user_auto_trading_list:
if active_auto_trading.auto_trading: if active_auto_trading.auto_trading:
symbol = active_auto_trading.symbol symbol = active_auto_trading.symbol
get_side = active_auto_trading.side
req = await rq.set_auto_trading( req = await rq.set_auto_trading(
tg_id=callback_query.from_user.id, tg_id=callback_query.from_user.id,
symbol=symbol, symbol=symbol,
auto_trading=False, auto_trading=False,
side=get_side,
) )
if not req: if not req:
await callback_query.message.edit_text( await callback_query.message.edit_text(