07.4.4.1.3 — Journal Runtime Cleanup & Event Titles Layer
This commit is contained in:
@@ -208,7 +208,12 @@ def _log_risk_updated(action: str) -> None:
|
||||
try:
|
||||
JournalService().log_ui_info(
|
||||
event_type="risk_settings_updated",
|
||||
message="Параметры защиты позиции обновлены.",
|
||||
message=(
|
||||
"Параметры защиты позиции изменены: "
|
||||
f"SL={_format_percent(state.stop_loss_percent)}, "
|
||||
f"TP={_format_percent(state.take_profit_percent)}, "
|
||||
f"ML={_format_usd(state.max_loss_usd)}."
|
||||
),
|
||||
screen="auto",
|
||||
action=action,
|
||||
payload={
|
||||
|
||||
Reference in New Issue
Block a user