# AuraTrade // Institutional Quant Terminal & Sentinel Engine An institutional-grade, 100% risk-controlled quantitative trading terminal engineered for Gold (`XAUUSD`), powered by the **Hermes AI Agent** and **Exness MT5**. ## Key Highlights - **Sub-20ms WebSocket Pipeline**: 60 FPS live candlestick chart powered by TradingView Lightweight Charts v4. - **Institutional SMC / ICT Confluence Scanner**: Analyzes Higher Timeframe Trend, Asian Session Liquidity Sweeps, 15m Fair Value Gaps (FVG), and 5m Market Structure Shifts. Triggers only on setups scoring $\ge 85\%$. - **Sentinel Risk Firewall (5 Immutable Invariants)**: 1. Maximum 1.0% equity risk per trade (dynamically auto-calculated lot sizing). 2. Mandatory broker-side hard Stop-Loss on every ticket. 3. Daily 2.5% maximum drawdown circuit breaker (automatic 24-hour lockdown). 4. ForexFactory high-impact news quarantine ($\pm 15$ minutes blackout). 5. Maximum 25-pip spread spike filter. - **Emergency Panic Button**: Instantly terminates 100% of open positions in $< 500\text{ms}$. - **Omnichannel Copilot**: Sends trade receipts and setup approval cards to Hermes Telegram (`@AuraAjent_bot`). ## Directory Structure - `frontend/`: Next.js 14, React 18, Tailwind CSS, TradingView Lightweight Charts v4. - `backend/`: FastAPI Async WebSocket server, Python SMC Scanner, Sentinel Risk Engine, Exness Connector. - `docker-compose.yml`: Multi-container deployment for Coolify (`trade.auraajenticai.cloud`). ## Deployment on Coolify 1. Push to Gitea: `https://git.auraajenticai.cloud/khondokar/aura-quant-terminal.git` 2. Add Service in Coolify: Source Gitea private repo, Build pack Docker Compose. 3. Domain: `trade.auraajenticai.cloud`.