- start_dashboard.bat: Manual start with console output - start_dashboard_silent.bat: Silent background start - install_dashboard_autostart.bat: One-click autostart installation - uninstall_dashboard_autostart.bat: Remove autostart - DASHBOARD_AUTOSTART_SETUP.md: Complete documentation Features: - Automatic startup on Windows login - Opens browser at http://localhost:8501 - Silent background execution - Easy install/uninstall - Troubleshooting guide included
20 lines
484 B
Batchfile
20 lines
484 B
Batchfile
@echo off
|
|
REM ==========================================
|
|
REM Trading Bot Dashboard - Silent Autostart
|
|
REM Startet im Hintergrund ohne Fenster
|
|
REM ==========================================
|
|
|
|
REM Wechsel ins Bot-Verzeichnis
|
|
cd /d "%~dp0"
|
|
|
|
REM Starte Dashboard im Hintergrund (headless)
|
|
start /B pythonw -m streamlit run trading_dashboard.py --server.port 8501 --server.headless true
|
|
|
|
REM Warte 5 Sekunden
|
|
timeout /t 5 /nobreak >nul
|
|
|
|
REM Öffne Browser
|
|
start http://localhost:8501
|
|
|
|
exit
|