Infrastructure
This section documents the infrastructure services that the alpha-oracle system depends on. The full stack is orchestrated via Docker Compose and requires no manual service configuration for local development.
In This Section
- Docker Compose — Service definitions for TimescaleDB, Redis, Prometheus, Grafana, and the FastAPI backend; startup, teardown, and port reference
- Database Schema — TimescaleDB hypertable definitions, SQLAlchemy models, and query patterns for time-series data
- IBKR Gateway Setup — Configuring IB Gateway or TWS for order execution and market data, including client ID scheme and connection troubleshooting
- Redis Keys Reference — Complete reference for all Redis namespaces used by the system (PDT tracking, pub/sub events, job idempotency, agent cache, autonomy state)