From 49ef90b4efdb913715878ed64307b99bcc58c08b Mon Sep 17 00:00:00 2001 From: Ahmet Gunes Date: Fri, 26 Jun 2026 09:27:28 +0300 Subject: [PATCH 1/7] fix: MetaTrader5'i Linux requirements.txt'ten kaldir, Windows icin ayri dosya ekle --- requirements-windows.txt | 1 + requirements.txt | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 requirements-windows.txt diff --git a/requirements-windows.txt b/requirements-windows.txt new file mode 100644 index 0000000..b9ffd91 --- /dev/null +++ b/requirements-windows.txt @@ -0,0 +1 @@ +MetaTrader5==5.0.45 diff --git a/requirements.txt b/requirements.txt index b1285b2..7ab84a4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,4 @@ ccxt==4.4.26 -MetaTrader5==5.0.45 pandas==2.2.3 numpy==1.26.4 ta==0.11.0 From 423aed6c3f711282b08c5719f8d77af87580efdf Mon Sep 17 00:00:00 2001 From: agunes77 Date: Fri, 26 Jun 2026 09:38:59 +0300 Subject: [PATCH 2/7] Update Python base image to version 3.12-slim --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 55fe3b0..2f3fbaf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.11-slim +FROM python:3.12-slim WORKDIR /app From cf4a5a8701b985a8498181f1e3ffc0c5847e7061 Mon Sep 17 00:00:00 2001 From: Ahmet Gunes Date: Fri, 26 Jun 2026 09:42:34 +0300 Subject: [PATCH 3/7] fix: shimmy'yi 1.3.0'a dusur, gymnasium 0.29 ile celisiyordu --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 7ab84a4..5fc61d7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,7 +4,7 @@ numpy==1.26.4 ta==0.11.0 stable-baselines3==2.3.2 gymnasium==0.29.1 -shimmy==2.0.0 +shimmy==1.3.0 torch==2.4.1 scikit-learn==1.5.2 matplotlib==3.9.2 From 5d2ec9a461c1f4e34793a6099055a98cd35caf2f Mon Sep 17 00:00:00 2001 From: Ahmet Gunes Date: Fri, 26 Jun 2026 09:57:18 +0300 Subject: [PATCH 4/7] fix: tradingagents'i ana requirements'tan cikar, pandas 3.x ile celisiyor --- requirements-tradingagents.txt | 1 + requirements.txt | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 requirements-tradingagents.txt diff --git a/requirements-tradingagents.txt b/requirements-tradingagents.txt new file mode 100644 index 0000000..ed19a47 --- /dev/null +++ b/requirements-tradingagents.txt @@ -0,0 +1 @@ +tradingagents diff --git a/requirements.txt b/requirements.txt index 5fc61d7..32c9e76 100644 --- a/requirements.txt +++ b/requirements.txt @@ -16,4 +16,3 @@ xgboost==2.1.1 lightgbm==4.5.0 catboost==1.2.7 requests==2.32.3 -tradingagents>=0.3.0 From 1ed9635a844d7db363024452e05e6f9bfe96f511 Mon Sep 17 00:00:00 2001 From: Ahmet Gunes Date: Fri, 26 Jun 2026 10:10:13 +0300 Subject: [PATCH 5/7] fix: npm ci yerine npm install kullan, package-lock.json repoda yok --- web/frontend/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/frontend/Dockerfile b/web/frontend/Dockerfile index 77dc757..79f0891 100644 --- a/web/frontend/Dockerfile +++ b/web/frontend/Dockerfile @@ -3,7 +3,7 @@ FROM node:20-alpine as build WORKDIR /app COPY package*.json ./ -RUN npm ci +RUN npm install COPY . . RUN npm run build From a4a1ed5202e628f31641c29d102b6b6a69d9bd39 Mon Sep 17 00:00:00 2001 From: Ahmet Gunes Date: Fri, 26 Jun 2026 10:26:15 +0300 Subject: [PATCH 6/7] =?UTF-8?q?fix:=20.gitignore'daki=20asiri=20genis=20*.?= =?UTF-8?q?json=20kuralini=20d=C3=BCzelt,=20eksik=20tsconfig=20dosyalarini?= =?UTF-8?q?=20ekle?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 4 +--- web/frontend/tsconfig.app.json | 22 ++++++++++++++++++++++ web/frontend/tsconfig.node.json | 20 ++++++++++++++++++++ 3 files changed, 43 insertions(+), 3 deletions(-) create mode 100644 web/frontend/tsconfig.app.json create mode 100644 web/frontend/tsconfig.node.json diff --git a/.gitignore b/.gitignore index fbb4b94..6c0842f 100644 --- a/.gitignore +++ b/.gitignore @@ -53,9 +53,7 @@ models/ data_cache/ *.parquet *.csv -*.json -!package.json -!tsconfig.json +data_cache/*.json # Node modules node_modules/ diff --git a/web/frontend/tsconfig.app.json b/web/frontend/tsconfig.app.json new file mode 100644 index 0000000..0e6a398 --- /dev/null +++ b/web/frontend/tsconfig.app.json @@ -0,0 +1,22 @@ +{ + "compilerOptions": { + "target": "ES2022", + "useDefineForClassFields": true, + "lib": ["ES2022", "DOM", "DOM.Iterable"], + "module": "ESNext", + "skipLibCheck": true, + + "moduleResolution": "bundler", + "allowImportingTsExtensions": true, + "isolatedModules": true, + "moduleDetection": "force", + "noEmit": true, + "jsx": "react-jsx", + + "strict": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "noFallthroughCasesInSwitch": true + }, + "include": ["src"] +} \ No newline at end of file diff --git a/web/frontend/tsconfig.node.json b/web/frontend/tsconfig.node.json new file mode 100644 index 0000000..3fe2997 --- /dev/null +++ b/web/frontend/tsconfig.node.json @@ -0,0 +1,20 @@ +{ + "compilerOptions": { + "target": "ES2022", + "lib": ["ES2023"], + "module": "ESNext", + "skipLibCheck": true, + + "moduleResolution": "bundler", + "allowImportingTsExtensions": true, + "isolatedModules": true, + "moduleDetection": "force", + "noEmit": true, + + "strict": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "noFallthroughCasesInSwitch": true + }, + "include": ["vite.config.ts"] +} \ No newline at end of file From 595a86998c2acc70ae717dfa1e5b6f8b5f5f00bf Mon Sep 17 00:00:00 2001 From: Ahmet Gunes Date: Fri, 26 Jun 2026 11:56:47 +0300 Subject: [PATCH 7/7] fix: uvicorn calisma dizinini web/backend olarak ayarla, app paketi cozumlenemiyordu --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2f3fbaf..8acd277 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,4 +21,4 @@ RUN mkdir -p models logs data_cache EXPOSE 8000 -CMD ["uvicorn", "web.backend.app.main:app", "--host", "0.0.0.0", "--port", "8000"] +CMD ["sh", "-c", "cd web/backend && uvicorn app.main:app --host 0.0.0.0 --port 8000"]