From d9e71b74cde9d5be889c3535f8dc71028954c503 Mon Sep 17 00:00:00 2001 From: hemangjoshi37a Date: Sun, 1 Feb 2026 08:10:21 +1100 Subject: [PATCH] Add Nifty50 AI Frontend documentation with screenshots to main README - Added comprehensive frontend section with 10 feature screenshots - Documented all key features: Dashboard, Settings, Pipeline, Debates, History - Included Quick Start guide and tech stack information - Added project structure overview --- README.md | 137 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 137 insertions(+) diff --git a/README.md b/README.md index 7e90c60f..a3f7f112 100644 --- a/README.md +++ b/README.md @@ -151,6 +151,143 @@ An interface will appear showing results as they load, letting you track the age

+--- + +## 🌐 Nifty50 AI Trading Dashboard (Web Frontend) + +A modern, feature-rich web dashboard for TradingAgents, specifically built for **Indian Nifty 50 stocks**. This dashboard provides a complete visual interface for AI-powered stock analysis with full transparency into the multi-agent decision process. + +### 🚀 Quick Start + +```bash +# Start the backend server +cd frontend/backend +pip install -r requirements.txt +python server.py # Runs on http://localhost:8001 + +# Start the frontend (in a new terminal) +cd frontend +npm install +npm run dev # Runs on http://localhost:5173 +``` + +### ✨ Key Features + +#### Dashboard - AI Recommendations at a Glance +View all 50 Nifty stocks with AI recommendations, top picks, stocks to avoid, and one-click bulk analysis. + +

+ +

+ +#### 🌙 Dark Mode Support +Full dark mode with automatic system theme detection for comfortable viewing. + +

+ +

+ +#### ⚙️ Configurable Settings Panel +Configure your AI analysis directly from the browser: +- **LLM Provider**: Claude Subscription or Anthropic API +- **Model Selection**: Choose Deep Think (Opus) and Quick Think (Sonnet/Haiku) models +- **API Key Management**: Securely stored in browser localStorage +- **Debate Rounds**: Adjust thoroughness (1-5 rounds) + +

+ +

+ +#### 📊 Stock Detail View +Detailed analysis for each stock with interactive price charts, recommendation history, and AI analysis summaries. + +

+ +

+ +#### 🔬 Analysis Pipeline Visualization +See exactly how the AI reached its decision with a 9-step pipeline showing: +- Data collection progress +- Individual agent reports (Market, News, Social Media, Fundamentals) +- Real-time status tracking + +

+ +

+ +#### 💬 Investment Debates (Bull vs Bear) +Watch AI agents debate investment decisions with full transparency: +- **Bull Analyst**: Makes the case for buying +- **Bear Analyst**: Presents risks and concerns +- **Research Manager**: Weighs both sides and decides + +

+ +

+ +
+📜 View Full Debate Example (Click to expand) +

+ +

+
+ +#### 📈 Historical Analysis & Backtesting +Track AI performance over time with comprehensive analytics: +- Prediction accuracy metrics (Buy/Sell/Hold) +- Risk metrics (Sharpe ratio, max drawdown, win rate) +- Portfolio simulator with customizable starting amounts +- AI Strategy vs Nifty50 Index comparison + +

+ +

+ +#### 📚 How It Works +Educational content explaining the multi-agent AI system and decision process. + +

+ +

+ +### 🛠️ Frontend Tech Stack + +| Technology | Purpose | +|------------|---------| +| React 18 + TypeScript | Core framework | +| Vite | Build tool & dev server | +| Tailwind CSS | Styling with dark mode | +| Recharts | Interactive charts | +| Lucide React | Icons | +| FastAPI (Python) | Backend API | +| SQLite | Data persistence | + +### 📁 Frontend Project Structure + +``` +frontend/ +├── src/ +│ ├── components/ +│ │ ├── pipeline/ # Pipeline visualization +│ │ ├── SettingsModal.tsx # Settings UI +│ │ └── Header.tsx +│ ├── contexts/ +│ │ └── SettingsContext.tsx +│ ├── pages/ +│ │ ├── Dashboard.tsx +│ │ ├── StockDetail.tsx +│ │ ├── History.tsx +│ │ └── About.tsx +│ └── services/ +│ └── api.ts +├── backend/ +│ ├── server.py +│ └── database.py +└── docs/screenshots/ +``` + +--- + ## TradingAgents Package ### Implementation Details