Automate gold execution with strict risk controls and live oversight.
AuraGold is an automated XAUUSD trading execution and monitoring platform for prop-firm traders, boutique funds, and serious individual investors. It focuses on systematic gold strategy execution, real-time compliance with drawdown and exposure rules, and transparent operational controls so users can run with less manual intervention and fewer rule breaches.
Prop-Firm Trader Lena, 29 - Lena trades funded accounts and needs a system that respects daily loss limits, news restrictions, and consistency rules. She wants automation that helps her pass evaluation phases without blowing up an account.
Quant Operations Manager David, 41 - David oversees a small proprietary trading book and cares about execution quality, auditability, and risk containment. He needs transparent controls and reliable uptime more than flashy features.
HNWI Investor Priya, 52 - Priya wants systematic exposure to gold volatility without managing trades manually. She needs simple controls, capital protection, and understandable reporting.
Lena has been using manual trade alerts for her prop account, but she keeps missing news windows and occasionally overruns her daily loss limit. She signs up for AuraGold, connects her broker account, and sets strict risk rules tied to her evaluation constraints.
On the first day, AuraGold scans market conditions, skips low-quality setups, and automatically blocks trades near a high-impact USD event. When a valid setup appears, it sizes the position from live equity, scales out at partial profit, and moves the stop to breakeven without Lena needing to intervene.
By the end of the week, Lena can see every decision in the audit trail and every avoided violation in the dashboard. Instead of watching charts all day, she spends her time reviewing performance, tuning the risk profile, and focusing on passing the evaluation with fewer mistakes.
Team & resourcing - Small cross-functional team: 2 backend engineers, 1 frontend engineer, 1 designer, part-time PM, and part-time DevOps support.
Paste this into Cursor, Bolt, Lovable, or v0 to start building.
Build a production-ready web app called AuraGold for automated XAUUSD trading oversight and execution. Core product: A dashboard and orchestration platform for prop-firm traders, boutique funds, and serious individual investors to automate gold trading with strict risk controls, news blackout protection, live performance monitoring, and full auditability. Primary screens: 1. Auth and onboarding 2. Connect broker account and verify connection 3. Configure account risk profile 4. Live trading dashboard with PnL, drawdown, open positions, regime state, and alerts 5. Trade history and audit log 6. Strategy settings and news blackout calendar 7. Performance analytics and export reports 8. Admin/settings page for notifications, integrations, and feature flags Core flows: User signs up, connects a broker account, sets max daily loss and per-trade risk, configures news blackout windows, then activates the strategy. The app must block unsafe trades, show clear reasons for skipped orders, support paper/dry-run mode, and provide live alerts for disconnects, spread spikes, drawdown breaches, and emergency stops. Data model: Users, organizations, trading_accounts, broker_connections, risk_profiles, strategy_configs, market_sessions, signals, orders, fills, positions, alerts, compliance_rules, calendar_events, performance_snapshots, audit_logs. Key logic: Implement idempotent order placement, broker state reconciliation, account-level hard stop protections, event-based trading suppression, partial take-profit and breakeven rules, and alerting via Telegram/Discord/email. Suggested stack: Next.js frontend, TypeScript, Tailwind CSS, PostgreSQL with TimescaleDB for time-series data, Redis for live state, backend services in Node.js or Python, and a Rust or C++ execution service stub for low-latency routing. Include role-based access control, secure secret storage, structured logging, and responsive charts. Deliver a polished MVP with seeded demo data, clean responsive UI, clear error states, accessible components, and production-oriented code organization.
Here is a highly advanced, institutional-grade description of the XAUUSD trading bot. This version is packed with deep technical specifications, quantitative metrics, and edge-case fail-safes designed to force a "Pro" PRD generator to output a comprehensive, engineering-ready document. --- ### Pro-Tier Input for MakeMyPRD **Product / Business Idea Name:** AuraGold Quant V2: Institutional-Grade XAUUSD Algorithmic Execution Engine **1. One-Sentence Overview:** An autonomous, low-latency quantitative trading system engineered exclusively for the XAUUSD market, utilizing machine learning for predictive volatility modeling, multi-timeframe liquidity sweep detection, and strict prop-firm-compliant risk constraints to deliver institutional risk-adjusted returns (Sharpe > 1.8). **2. Target User Personas & Use Cases:** * **The Prop-Firm Contender (B2C):** Retail traders utilizing funded accounts (FTMO, FundedNext) who need an automated system that strictly adheres to daily drawdown limits, consistency rules, and news-trading restrictions to pass evaluations and secure payouts. * **The Boutique Quant Fund / Family Office (B2B):** Capital allocators seeking a hands-free, uncorrelated asset class strategy with institutional-grade capital preservation, transparent audit trails, and customizable risk-of-ruin parameters. * **The High-Net-Worth Individual (HNWI):** Investors seeking aggressive but systematically capped exposure to gold spot volatility without manual intervention. **3. Advanced Problem Statement:** Gold (XAUUSD) exhibits unique market microstructure behaviors: sudden spread widening during session overlaps, severe liquidity voids during macroeconomic announcements, and high susceptibility to toxic order flow. Existing retail bots fail because they rely on static indicators, use toxic risk models (martingale/grid), and lack institutional fail-safes. Furthermore, traders attempting prop-firm evaluations constantly breach hidden compliance rules (e.g., max lot exposure, news slippage, equity-based daily drawdown). **4. Core Features & System Modules:** * **Alpha Generation & Strategy Engine:** * *ML-Driven Pattern Recognition:* Identifies institutional order blocks, Fair Value Gaps (FVG), and liquidity sweeps across M15/H1/H4 timeframes simultaneously. * *Adaptive Regime Filter:* Automatically switches between "Trend-Following," "Mean-Reversion," and "Standby" modes based on real-time Average True Range (ATR) and Volume-Weighted Average Price (VWAP) deviations. * **Prop-Firm Compliance & Dynamic Risk Management:** * *Hard Equity Protection:* Calculates dynamic lot sizes ensuring exact % risk per trade, incorporating real-time account equity (not balance) to prevent daily drawdown breaches. * *Smart Trailing & Partial Take-Profits:* Executes scaled exits (e.g., close 50% at 1:1.5 R:R, move stop to breakeven, trail the runner) to secure funded account payouts. * **Execution & Microstructure Protection:** * *Max-Spread & Slippage Filters:* Prevents trade execution if broker spreads widen beyond predefined thresholds (common during rollover or low liquidity). * *Macro Event Kill-Switch:* Integrates with economic calendar APIs (e.g., ForexFactory, FinancialJuice) to flatten all positions 30 minutes prior to Tier-1 USD events (CPI, NFP, FOMC) and pause execution for 30 minutes post-event. * **Telemetry & Analytics Dashboard (Web App):** * Live tracking of P&L, Calmar/Sortino ratios, trade expectancy, and real-time visualization of current drawdown vs. hard limits. **5. Edge Cases & System Fail-Safes:** * **Broker API Disconnects:** Automated local heartbeat checks. If connection drops, the system triggers alerts via Telegram/Discord and attempts reconnection every 5 seconds. * **Flash Crash Protection:** Hard-coded global emergency stop-loss executed at the broker server level (not locally) to protect against black-swan liquidity gaps. * **Orphaned Orders:** Continual reconciliation loop verifying that local database states match broker server states to prevent phantom positions. **6. Technical Stack & Architecture Architecture:** * **Execution Core:** C++ or Rust for sub-millisecond order routing via FIX API or direct MT5/cTrader C# bridges. * **Data & ML Pipeline:** Python (Pandas, Scikit-Learn) for offline model training and parameter optimization. * **Infrastructure:** Dockerized containers deployed on cross-connected VPS (Equinix NY4 or LD4) for ultra-low latency to broker trading servers. * **Database:** TimescaleDB for tick-level historical data storage and backtesting engines; Redis for live session state management. **7. North Star Metrics (KPIs):** * **Max Historical Drawdown:** Strictly < 4.0% on a rolling 12-month basis. * **Profit Factor:** Sustained > 1.75 over 1,000+ live executions. * **Execution Latency:** < 5 milliseconds from signal generation to broker receipt. * **Prop-Firm Pass Rate:** > 80% success rate in simulated phase 1 & 2 evaluation environments.
Design by The Resonance | Powered by GPC – The AI Transformation Company