adjusted percentages of TP and SL

This commit is contained in:
algizn97
2025-10-29 20:55:51 +05:00
parent 7e4c936ef5
commit a8119d2811
4 changed files with 15 additions and 15 deletions

View File

@@ -660,7 +660,7 @@ async def set_leverage_handler(message: Message, state: FSMContext) -> None:
text=f"Кредитное плечо успешно установлено на {leverage_float}",
reply_markup=kbi.back_to_additional_settings,
)
risk_percent = 100 / safe_float(leverage_float)
risk_percent = 10 / safe_float(leverage_float)
await rq.set_stop_loss_percent(
tg_id=message.from_user.id, stop_loss_percent=risk_percent)
await rq.set_take_profit_percent(