Files
Stock-trading-programming/scripts/run_bot.bat
T

9 lines
150 B
Batchfile

@echo off
setlocal
cd /d "%~dp0.."
if exist ".venv\Scripts\python.exe" (
".venv\Scripts\python.exe" app\main.py
) else (
python app\main.py
)