SuperAI_Forecast / Clean-Scratch-Quick.cmd
Thang6822
feat: cancel in-flight forecast tasks immediately when switching symbol/interval and fix DXY sources config
4d10530
Raw
History Blame Contribute Delete
410 Bytes
@echo off
setlocal
cd /d "%~dp0"
set "SCRIPT=%~dp0scripts\scratch_cleanup.py"
set "PYEXE=%~dp0venv\Scripts\python.exe"
if not exist "%PYEXE%" set "PYEXE=python"
"%PYEXE%" --version >nul 2>&1
if %errorlevel% neq 0 (
echo [!] Python not found. Install Python or recreate the project venv first.
pause
exit /b 1
)
"%PYEXE%" "%SCRIPT%" --apply
set "EXIT_CODE=%errorlevel%"
pause
exit /b %EXIT_CODE%