From db79b91b2c2c6235da0871bf8e3ba99d3b44440d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=B8=D0=BA=D1=82=D0=BE=D1=80?= <78488229+viktor138irk@users.noreply.github.com> Date: Fri, 8 May 2026 03:58:42 +0900 Subject: [PATCH] Hide live acknowledgement from bot settings output --- app/ai_bot.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/app/ai_bot.py b/app/ai_bot.py index 0aa59bb..65daea9 100644 --- a/app/ai_bot.py +++ b/app/ai_bot.py @@ -94,10 +94,10 @@ class AiTradingBot: confidence = max(0, min(100, abs(score - 50) * 1.8)) reason = ( - f'AI-bot: {market} score={score:.1f}. ' - f'SMA fast {sma_fast:.8f} vs slow {sma_slow:.8f}; ' - f'momentum {momentum_pct:.2f}%; volatility {volatility_pct:.2f}%; news_score {news_score:.1f}. ' - f'Action: {action}.' + f'{market}: score {score:.1f}. ' + f'Быстрая средняя {sma_fast:.8f}, медленная {sma_slow:.8f}; ' + f'импульс {momentum_pct:.2f}%, волатильность {volatility_pct:.2f}%, новостной фон {news_score:.1f}. ' + f'Действие: {action}.' ) return IndicatorPack( market=market, @@ -194,7 +194,6 @@ class AiTradingBot: 'max_open_positions': state.max_open_positions, 'max_quote_per_trade': state.max_quote_per_trade, 'emergency_stop': state.emergency_stop, - 'live_acknowledged': state.live_acknowledged, } def _parse_candles(self, raw: dict[str, Any]) -> list[dict[str, float]]: