Skip to content

StockPro-AI/TradingLab

Repository files navigation

TradingLab

TradingLab is a split Docker Compose project with a Python backend service and a Node/Vite frontend service.

Project Structure

TradingLab/
├── docker-compose.yml
├── trading_app_backend/
│   ├── Dockerfile
│   ├── requirements.txt
│   └── src/
└── trading_app_frontend/
    ├── Dockerfile
    ├── package.json
    ├── pnpm-lock.yaml
    ├── index.html
    └── src/
  • trading_app_backend/ contains the Python backend. Python dependencies belong in trading_app_backend/requirements.txt and are installed by the backend Dockerfile.
  • trading_app_frontend/ contains the Vite frontend. Node dependencies belong in trading_app_frontend/package.json and are installed with pnpm in the frontend Dockerfile.
  • docker-compose.yml only orchestrates the services. It does not install or declare application dependencies.

Run With Docker Compose

docker compose build
docker compose up -d

The frontend is served at http://localhost. The backend listens on http://localhost:5000.

To view logs:

docker compose logs -f

To stop the stack:

docker compose down

Local Service Notes

The backend starts with Flask via src/main.py. The frontend builds with Vite and is served from an Nginx container.

Some historical source files reference data/backtesting functionality whose model modules are not present in this repository snapshot. Those broken runtime imports are not registered by the application until the real data layer exists.

About

TradingLab

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors