May 2026 – Present
Stellaris
Automated Trading Platform with AI Strategy Builder & Cloud Terminals
A platform for building, backtesting and running automated trading strategies on MetaTrader 4 and 5. Users draw a trade on the chart or describe it to Stellaris Intelligence, an AI assistant, backtest it on historical market data, then run it 24/7 in a managed cloud terminal or on their own. Designed, built and operated end to end: three production apps, the trading engine, and the cloud infrastructure behind them.
Architecture highlights
- Three production apps: marketing site, customer app, internal admin panel
- Managed cloud MetaTrader terminals, one Docker container per account
- Real-time gateway (Deno + Redis) for trades, commands and live terminal status
- JSON-driven strategy engine in MQL5, ported to MQL4 by a code generator
- AI strategy assistant with tool calling and per-user usage metering
- MFA, Row Level Security on every table, server-side write lockdown
Repository 01
Marketing Site
Public website that explains the product and converts visitors into trials, with animated product demos built from the app's own components.
- Next.js 16 (Turbopack), React 19, Tailwind CSS 4
- Animated, in-view product demos (Framer Motion, SVG charts)
- Technical SEO: metadata, sitemap, robots, performance tuning
- GDPR cookie consent for EU/EEA/UK/CH visitors
- Funnel tracking: GTM, GA4, Meta Pixel + Conversions API
Repository 02
Customer App
The authenticated product: strategy building, backtesting, live terminal management, analytics and billing.
- Strategy Studio: chart drawing, AI-defined strategies, backtests, optimizer
- Historical market data paged in on scroll (TradingView Lightweight Charts)
- Per-terminal strategy manager and trading analytics (Recharts)
- Cloud terminal setup wizard with sealed (libsodium) broker credentials
- Subscriptions and checkout via Whop, earlier PayPal and crypto (Solana, EVM)
- TOTP two-factor auth, device and session management, Turnstile captcha
- Transactional email (React Email + Resend) and Telegram trade alerts
- Database-driven Help Center that also serves as the AI's knowledge base
Repository 03
Admin Panel
Internal operations console for the team: customers, money, support and infrastructure in one place.
- User, subscription, payment and finance overviews
- Support inbox with on-demand IMAP sync and ticketing
- Marketing analytics from the GA4 Data API and Meta ad spend
- Cloud capacity and server observability
Trading engine & cloud infrastructure
Cloud Terminals
- Headless MT4/MT5 under Wine in Docker
- Python orchestrator provisioning terminals in ~3 minutes
- Broker server catalogs for 70+ brokers
- Capacity stress tested
Gateway
- Deno service with Redis behind Caddy
- Live terminal status stream to the browser
- Execution reporting: response times, slippage, spread...
- Remote config, commands and EA self-update
Trading Engine
- MQL5 Expert Advisor running strategies from JSON
- Preset strategies with plan-based access
- MQL4 port generated from the MQL5 source
- C++ simulation harness for order-for-order tests
Data & Delivery
- Supabase Postgres, Realtime, Edge Functions, pg_cron
- Vercel for the three web apps
- GitHub Actions building and shipping images
- Alerting via Telegram
