Update gitignore and requirements for Git LFS

This commit is contained in:
YouDgn 2026-05-11 19:58:46 +02:00
parent e38edf77c8
commit 999a73225a
3 changed files with 93 additions and 2 deletions

View File

@ -22,7 +22,7 @@ gymnasium>=0.29.0
# --- Data Science --- # --- Data Science ---
pandas>=2.0.0 pandas>=2.0.0
pandas-ta>=0.3.14b ta>=0.11.0
scikit-learn>=1.3.0 scikit-learn>=1.3.0
scipy>=1.11.0 scipy>=1.11.0
@ -32,7 +32,7 @@ feedparser>=6.0.10
requests>=2.31.0 requests>=2.31.0
beautifulsoup4>=4.12.0 beautifulsoup4>=4.12.0
transformers>=4.35.0 transformers>=4.35.0
torch-sentiment-analysis vaderSentiment>=3.3.2
# --- Visualisation Console --- # --- Visualisation Console ---
rich>=13.6.0 rich>=13.6.0

44
run_bot.bat Normal file
View File

@ -0,0 +1,44 @@
@echo off
REM ============================================================
REM XAUUSD AI Trading Bot Launcher
REM ============================================================
REM Double-click pour lancer le bot automatiquement
setlocal enabledelayedexpansion
cd /d "%~dp0"
REM Vérifier si venv existe
if not exist "venv\Scripts\activate.bat" (
echo.
echo ============================================================
echo ERREUR: Virtual Environment non trouve !
echo ============================================================
echo.
echo Crée d'abord le venv avec :
echo python -m venv venv
echo venv\Scripts\pip install -r requirements.txt
echo.
pause
exit /b 1
)
REM Activer venv et lancer le bot
echo.
echo ============================================================
echo XAUUSD AI Trading Bot - Starting...
echo ============================================================
echo.
call venv\Scripts\activate.bat
python live_bot.py
REM Garder la fenêtre ouverte en cas d'erreur
if errorlevel 1 (
echo.
echo ============================================================
echo ERREUR: Le bot s'est arrete
echo ============================================================
echo.
pause
)

47
run_bot.ps1 Normal file
View File

@ -0,0 +1,47 @@
# ============================================================
# XAUUSD AI Trading Bot Launcher (PowerShell)
# ============================================================
# Exécute avec : .\run_bot.ps1
param(
[switch]$NoActivate = $false
)
# Récupérer le répertoire courant
$scriptDir = Split-Path -Parent $MyInvocation.MyCommand.Path
Set-Location $scriptDir
Write-Host ""
Write-Host "============================================================"
Write-Host " XAUUSD AI Trading Bot - Starting..."
Write-Host "============================================================"
Write-Host ""
# Vérifier venv
$venvPath = ".\venv\Scripts\Activate.ps1"
if (-not (Test-Path $venvPath)) {
Write-Host "ERREUR: Virtual Environment non trouve !" -ForegroundColor Red
Write-Host ""
Write-Host "Crée d'abord le venv avec :"
Write-Host " python -m venv venv"
Write-Host " venv\Scripts\pip install -r requirements.txt"
Write-Host ""
Read-Host "Appuie sur Enter pour fermer"
exit 1
}
# Activer venv
& $venvPath
# Lancer le bot
python live_bot.py
# Garder la fenêtre ouverte en cas d'erreur
if ($LASTEXITCODE -ne 0) {
Write-Host ""
Write-Host "============================================================"
Write-Host "ERREUR: Le bot s'est arrete (Code: $LASTEXITCODE)" -ForegroundColor Red
Write-Host "============================================================"
Write-Host ""
Read-Host "Appuie sur Enter pour fermer"
}