2026-06-22 06:25:14,724 INFO __main__ Grid Bot starting — mode=DEMO 2026-06-22 06:25:14,724 INFO __main__ Tradernet API: https://tradernet.by 2026-06-22 06:25:14,724 INFO __main__ Trading pair: BTC-USDT.IMEX 2026-06-22 06:25:14,724 INFO __main__ Starting web dashboard on 0.0.0.0:5555 2026-06-22 06:25:14,725 INFO __main__ DEMO mode → auto-starting trading loop 2026-06-22 06:25:14,726 INFO __main__ [bot-thread] starting trading_loop... 2026-06-22 06:25:14,726 INFO __main__ [main] trading_loop thread started: 137990061946560, alive=True * Serving Flask app 'grid-bot' * Debug mode: off 2026-06-22 06:25:14,726 ERROR __main__ [bot-thread] crashed: name 'kill_switch' is not defined Traceback (most recent call last): File "/root/grid-bot/main.py", line 3278, in _safe_start start_bot_async() File "/root/grid-bot/main.py", line 2337, in start_bot_async kill_switch.start() # Запускаем мониторинг (если enabled) ^^^^^^^^^^^ NameError: name 'kill_switch' is not defined Address already in use Port 5555 is in use by another program. Either identify and stop that program, or start the server with a different port.