Services¶
TradAI microservices.
Overview¶
| Service | Port | Purpose | Architecture |
|---|---|---|---|
| Backend | 8000 | Main API gateway, orchestration, backtesting | 3-layer |
| Data Collection | 8002 | Market data fetching and storage | 3-layer |
| Strategy Service | 8003 | Strategy execution, MLflow integration | 3-layer |
| MLflow | 5000 (container) / 5001 (host) | ML experiment tracking and model registry | Container wrapper |
Architecture¶
Backend, Data Collection, and Strategy Service follow the 3-layer architecture. MLflow is a thin Docker wrapper around the upstream MLflow server (see MLflow docs).
services/*/
├── src/*/
│ ├── api/ # FastAPI routers, endpoints
│ ├── core/ # Business logic, entities
│ └── infrastructure/ # External adapters, repositories
├── tests/
└── Dockerfile
Running Services¶
# Start all services with Docker
just up
# Run individual service locally
just run-strategy # Strategy Service on port 8003
# Stop services
just down
Health Checks¶
See Also¶
- Architecture Overview — System diagram and component map
- API Reference — REST API endpoints and schemas
- Libraries — Shared libraries used by services
- Technical Design — Detailed service design documents