Skip to content

damentame/MidnightTrade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ctrader-xau-lsfvg-bot

Automated XAUUSD cTrader strategy bot with FastAPI dashboard endpoints.

Quickstart

  1. Copy env file:
    cp .env.example .env
  2. Start services:
    docker compose up --build
  3. Run migrations:
    docker compose exec backend alembic upgrade head

cTrader OAuth

  • Start auth flow: GET /api/ctrader/auth/start
  • Callback endpoint: GET /api/ctrader/callback

Run bot runner

Inside backend container:

python -m app.jobs.runner

Dashboard

  • API base: http://localhost:8000/api
  • UI (minimal): http://localhost:8000/

Safety

Use demo first. In dev, set trading_enabled=false before enabling real execution.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors