CryptoAI Pro – AI Crypto & Stock Market Analysis Platform with iOS App (Next.js + MongoDB)

Self-hosted AI market analysis for crypto and stocks: candlestick charts with an AI overlay, signals, alerts, watchlists, risk tools, a paper backtester and an admin console, plus a native SwiftUI iOS app. Analysis tools only, not financial advice.

by DEV3 TechnologiesVerified Author(0) 0 sales 1 viewsUpdated 31 Oct 2026

CryptoAI Pro is a self-hosted market analysis platform for crypto and stocks, built by DEV3 Technologies on Next.js 15 (App Router), MongoDB and NextAuth v5. It streams prices, draws candlestick charts with an AI overlay of support, resistance and zones, writes structured AI briefings for every asset, detects signals as candles close and fires alerts in-app, by email, push or signed webhook. The download also contains CryptoAI Pro iOS, a native SwiftUI app for iPhone and iPad.

Analysis tools only – not financial advice. CryptoAI Pro never places trades. The AI briefings, signals, risk calculators and backtests are for research and education.

Try it: the live demo is read-only and runs on simulated market data. The sign-in page has one-click demo logins for the Admin, a Premium user and a Standard user (password Demo@12345): admin@cryptoaipro.test, premium@cryptoaipro.test and user@cryptoaipro.test.

Charts and AI analysis

  • Candlestick terminal (lightweight-charts) with volume, moving averages and indicators: RSI, MACD, Bollinger Bands, ATR, stochastic and VWAP, on 1m, 5m, 1h and 1d candles.
  • AI overlay draws support and resistance levels, demand and supply zones and signal markers straight on the chart.
  • AI briefing per asset: sentiment gauge, confidence, summary, bullish drivers, key risks, price levels, technical breakdown and outlook, returned as typed structured output.
  • AI pattern detection (Premium) and news sentiment scoring.
  • Fast and cheap: volatility-aware caching, request de-duplication and pre-warming of watched assets. Without an AI key a deterministic mock answers, so every screen works out of the box.
  • Prompt console: versioned system prompts with a playground and rollback, and the model chosen in the admin without a restart.

Markets, signals and alerts

  • Market data: crypto from Binance with a CoinGecko fallback, stocks from Finnhub with a Yahoo fallback, circuit breakers per provider, 1m candles rolled up into 5m, 1h and 1d with automatic backfill, and a deterministic simulator for offline development and demos.
  • Live streaming for Premium users over a socket.io sidecar; everyone else polls at their plan's refresh rate.
  • Signals detected on candle close: breakouts, RSI divergences, volume spikes, moving-average crosses and trend changes.
  • Alerts: price above or below, percent move in a window, volume spike and RSI cross, once or recurring with cooldowns, delivered in-app, by email, web push, iOS push or HMAC-signed webhook, with a firing history and delivery log.
  • Watchlists with positions, value, day and all-time P/L, targets, notes, drag-to-reorder and a heat map.

Premium tools

  • Risk calculators: position size, risk/reward, Kelly, VaR and CVaR, and drawdown.
  • Paper backtester: SMA cross, RSI reversion, Bollinger breakout and momentum strategies with fees, slippage, shorting, an equity curve, metrics and a trade list.
  • AI history of every analysis a user has run.

Public website

  • A dark trading-terminal landing page with a live ticker tape, market HUD cards, a feature explorer and the anatomy of an AI briefing.
  • A public markets board (crypto and stocks) with sparklines and top movers, served with incremental static regeneration.
  • An SEO-friendly public AI report per symbol, pricing with a full plan comparison, and legal pages.

Accounts, plans and admin

  • Email and password sign-in with an emailed one-time code, optional Google sign-in and reCAPTCHA v2.
  • Standard, Premium and Admin roles plus a Super Admin, and custom roles with a permission matrix. Premium is granted by an admin with an optional expiry; expired users are downgraded automatically.
  • Plan quotas (AI calls per day, watchlists, assets per list, active alerts, API rate and refresh rate) edited in the admin.
  • Admin console: DAU/WAU/MAU, API traffic and p95 latency, AI cost and tokens, provider health and SLA tiles; users, roles, Premium grants, AI limit overrides and session revocation; AI usage by prompt and model; market providers and the asset catalog; alert deliveries, background jobs, audit log and site settings.

Native iOS app included

The iOS-App/ folder holds CryptoAI Pro iOS, built with SwiftUI for iOS 26 and Swift 6. It talks to your server through the included /api/mobile layer, so plan quotas, Premium features and permissions are enforced exactly as on the website.

  • Signed out, it is your public site: home, markets, a public asset page and pricing, rendered natively from the server's site copy.
  • Signed in: markets with a portfolio card and heat map; the asset screen with live price, native candles, the AI overlay and the AI analysis; watchlists, alerts, insights with AI briefs and a live signal feed, risk calculators, the paper backtester and webhooks.
  • Live data: Premium users stream ticks through a small native Socket.IO client with no third-party dependency; everyone else polls.
  • iOS integration: push notifications for fired alerts, a watchlist widget, a Live Activity that pins a symbol to the Lock Screen and Dynamic Island, Spotlight, quick actions, Siri Shortcuts, deep links, Universal Links and an optional Face ID lock.
  • Rebrand in one file: app name, bundle id, team, brand gradient, URL scheme and server URLs live in iOS-App/Config.xcconfig; a script redraws the icon from your brand colours and XcodeGen creates the project. The app is not on the App Store: you build and release it under your own Apple Developer account.

Built for production

  • Three processes (web, realtime sidecar and worker), or serverless with a cron endpoint when live streaming is not needed.
  • Every server action and API route runs through one pipeline: session, permission, rate limit, validation, audit and revalidation.
  • MongoDB-backed global rate limiting, AES-256-GCM field encryption, CSP and security headers.
  • A read-only demo mode and one-click demo logins.

What's in the package

  • Full TypeScript source of the web app, realtime sidecar and worker, .env.example, README and HTML documentation (including the production deployment guide).
  • 57 test files with over 270 integration test cases run against a real MongoDB, plus typecheck, lint and import-boundary checks.
  • A demo seeder (demo users, 250+ assets, simulated history, prompts, watchlists, alerts, signals, sample AI analyses and backtests) and PM2 configuration.
  • The SwiftUI iOS app with its Swift packages, widget extension and tests.

Requirements

  • Node.js 24 and npm
  • MongoDB running as a replica set (change streams and transactions need it)
  • Optional: an AI API key, a Finnhub key for stock streaming and news, Google sign-in, VAPID keys for web push, Mailgun or SMTP, and APNs keys for iOS push
  • For the iOS app: a Mac with Xcode 26 and XcodeGen

See how we built CryptoAI Pro for the design decisions behind it.

Frequently asked questions

The complete source code (version 1.0.0) as a download from your account, with the setup and usage guides shown on this page. You can modify the code to suit your product.

More from this author

View all

Related in Enterprise SaaS Starters

View all