A comprehensive AI-powered trading and research platform with TradingView-style UI, featuring real-time market data, AI copilot, RAG-powered insights, and backtesting capabilities.
Live app: https://quanttrade.us/
- π Global Monitor β Real-time geopolitical intelligence with 3D globe visualization, AI threat classification, and ticker impact correlation (NEW!)
- Symbol Analysis with AI β Real-time charts, indicators, and AI-powered explanations
- Earnings & Filings Deep Dive β RAG-powered analysis of SEC filings and earnings calls
- Personal Watchlist β Portfolio-aware AI insights and risk monitoring
- Strategy Backtesting β Rule-based strategy testing with AI explanations
- Risk Analysis β Comprehensive risk scoring and factor analysis
βββββββββββββββ
β Frontend β Next.js with TradingView-style charts
β (Web App) β
ββββββββ¬βββββββ
β
ββββββββΌβββββββββββββββββββ
β API Gateway/Backend β FastAPI REST API
ββββββββ¬βββββββββββββββββββ
β
βββββ΄βββββββββββββββββββββββββββββββ
β β
ββββΌβββββββββββ βββββββββββΌβββββββββ
β Data β β RAG/Copilot β
β Services β β Service β
β β β β
β - Market β β - Embeddings β
β Data β β - Vector Store β
β - News β β - LLM Agent β
β - Filings β β - Tool Calling β
βββββββββββββββ ββββββββββββββββββββ
β
ββββββββΌβββββββββββββββββββ
β Storage Layer β
β β
β - PostgreSQL (OHLCV) β
β - Vector DB (RAG) β
β - Object Storage β
ββββββββββββββββββββββββββ
Project structure:
Finance/
βββ backend/ # FastAPI backend
β βββ app/
β β βββ api/ # API routes (auth, symbols, prices, chat, backtest, etc.)
β β βββ services/ # Business logic (RAG, embeddings, data fetchers)
β β βββ models/ # SQLAlchemy models
β β βββ db/ # Database setup
β β βββ tasks/ # Celery background jobs
β βββ scripts/ # Data sync & DB init scripts
βββ frontend/ # Next.js (App Router) frontend
β βββ src/
β βββ app/ # Pages (research, watchlist, backtest, markets, etc.)
β βββ components/ # UI components, charts, panels
β βββ contexts/ # Auth context
β βββ hooks/ # Realtime quote, news hooks
β βββ lib/ # API client, auth, store
βββ docs/ # Additional documentation
| Layer | Technologies |
|---|---|
| Backend | Python, FastAPI, SQLAlchemy, PostgreSQL, Celery, Redis |
| Frontend | Next.js 16, React 18, TypeScript, Tailwind CSS, TradingView Lightweight Charts, Zustand, TanStack Query |
| AI/ML | OpenAI/Anthropic API, LangChain, Chroma/Pinecone (vector store) |
| Data | yfinance, Finnhub, Finviz, SEC EDGAR API |
| DevOps | Docker, GitHub Actions, Neon (PostgreSQL) |
- Python 3.11 (project is tested and deployed with 3.11.x; newer Python versions like 3.14 often lack compatible wheels for key deps such as psycopg2, pandas, and torch)
- Node.js 18+
- PostgreSQL (or use Neon for hosted Postgres)
- Redis (for Celery background jobs)
# Optional: run enhanced setup (sync symbols, etc.)
./setup_enhanced.sh
# Start API server
uvicorn app.main:app --reloadFrom project root you can use Docker:
docker-compose upSee docs/QUICK_START.md and docs/INSTALLATION_EXPLAINED.md for detailed setup and env vars.
Home Page
Research Page
Real time Market Page
Real time News (as per stock)
Ideas-lab
Backtest
System Settings & Preference
- Global Monitor β Real-time geopolitical intelligence (NEW!)
- Quick Start Guide β Get running in 15 minutes
- Implementation Guide β Architecture & deployment
- Quick Start β Fast setup and key endpoints
- Architecture β System design
- Tech Stack β Stack details
- Neon Setup β PostgreSQL with Neon
- Installation β Full installation guide
MIT