Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@ models/
data_cache/
*.parquet
*.csv
*.json
!package.json
!tsconfig.json
data_cache/*.json

# Node modules
node_modules/
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.11-slim
FROM python:3.12-slim

WORKDIR /app

Expand All @@ -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"]
1 change: 1 addition & 0 deletions requirements-tradingagents.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
tradingagents
1 change: 1 addition & 0 deletions requirements-windows.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
MetaTrader5==5.0.45
4 changes: 1 addition & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
ccxt==4.4.26
MetaTrader5==5.0.45
pandas==2.2.3
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
Expand All @@ -17,4 +16,3 @@ xgboost==2.1.1
lightgbm==4.5.0
catboost==1.2.7
requests==2.32.3
tradingagents>=0.3.0
2 changes: 1 addition & 1 deletion web/frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
22 changes: 22 additions & 0 deletions web/frontend/tsconfig.app.json
Original file line number Diff line number Diff line change
@@ -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"]
}
20 changes: 20 additions & 0 deletions web/frontend/tsconfig.node.json
Original file line number Diff line number Diff line change
@@ -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"]
}