Automated XAUUSD cTrader strategy bot with FastAPI dashboard endpoints.
- Copy env file:
cp .env.example .env
- Start services:
docker compose up --build
- Run migrations:
docker compose exec backend alembic upgrade head
- Start auth flow:
GET /api/ctrader/auth/start - Callback endpoint:
GET /api/ctrader/callback
Inside backend container:
python -m app.jobs.runner- API base:
http://localhost:8000/api - UI (minimal):
http://localhost:8000/
Use demo first. In dev, set trading_enabled=false before enabling real execution.