๐ฎ AI-Powered Price Predictions โข ๐ Real-Time Market Data โข ๐ผ Smart Portfolio Optimization
โก THIS PROJECT IS FOR EDUCATIONAL AND LEARNING PURPOSES ONLY
- ๐ Not Financial Advice: This is a demo/portfolio project built to demonstrate AI/ML, Next.js, and web development skills. It does NOT provide real financial or investment advice.
- ๐ซ Do NOT Make Real Investments: Please do NOT base any real-world trading, investment, or financial decisions on the predictions, recommendations, or outputs of this application.
- ๐ค AI Predictions are Simulated: The AI/ML models showcased here are for demonstration purposes. Their predictions should NOT be considered accurate or reliable for actual trading.
- ๐ผ No Liability: The developer(s) of this project are NOT liable for any financial losses, damages, or consequences arising from the use or misuse of this application.
- ๐ฏ Purpose: This project was created to learn and showcase skills in:
- Full-stack development with Next.js & TypeScript
- AI/ML model integration
- Real-time data handling
- Modern UI/UX design
๐ Please treat this as a LEARNING PROJECT, not a financial tool.
|
|
Premium dark theme with real-time market indices
Intelligent trading features powered by 7 ML models
Stock Screener โข FII/DII Data โข Economic Calendar
| Category | Technology |
|---|---|
| Framework | Next.js 15.1 (App Router) |
| Language | TypeScript 5.0 |
| UI Library | React 19 |
| Styling | TailwindCSS + Custom CSS |
| Data API | Yahoo Finance (Real-time) |
| Icons | Lucide React |
| AI/ML | Custom ML Models (Demo) |
| Charts | Recharts |
tradesense-ai/
โโโ ๐ src/
โ โโโ ๐ app/
โ โ โโโ ๐ page.tsx # Homepage with AI features
โ โ โโโ ๐ ai/ # AI Chat Assistant
โ โ โโโ ๐ tools/ # Trading Tools (Screener, FII/DII)
โ โ โโโ ๐ markets/ # Stock Markets page
โ โ โโโ ๐ portfolio/ # Portfolio Management
โ โ โโโ ๐ watchlist/ # Personal Watchlist
โ โ โโโ ๐ calculator/ # SIP/Lumpsum Calculator
โ โ โโโ ๐ ipo/ # IPO Tracker
โ โ โโโ ๐ mutualfunds/ # Mutual Funds
โ โ โโโ ๐ stock/[symbol]/ # Dynamic Stock Details
โ โ โโโ ๐ api/
โ โ โโโ ๐ stocks/ # Yahoo Finance API
โ โ โโโ ๐ ai/ # AI Chat API
โ โ โโโ ๐ ml/ # ML Models API
โ โโโ ๐ lib/
โ โโโ ๐ theme.ts # Theme configuration
โโโ ๐ package.json
โโโ ๐ tailwind.config.ts
โโโ ๐ README.md
Note: These are simulated models for educational demonstration. Accuracy figures are hypothetical.
| Model | Purpose | Demo Accuracy |
|---|---|---|
| ๐ฎ LSTM Neural Network | Price Prediction (7-14 days) | ~82% |
| ๐ฐ NLP Transformer | Sentiment Analysis | ~79% |
| ๐ CNN Detector | Chart Pattern Recognition | ~75% |
| Risk Assessment | ~85% | |
| ๐ผ MPT Algorithm | Portfolio Optimization | N/A |
| ๐ Isolation Forest | Anomaly Detection | ~88% |
| ๐ Backtester | Strategy Testing | N/A |
- Node.js 18+
- npm or yarn
# Clone the repository
git clone https://github.com/kumarharsh21112003/tradesense-ai.git
# Navigate to project
cd tradesense-ai
# Install dependencies
npm install
# Run development server
npm run dev
# Open in browser
# http://localhost:3000| Endpoint | Method | Description |
|---|---|---|
/api/stocks |
GET | Fetch all stocks data |
/api/stocks?market=india |
GET | Market-specific stocks |
/api/stocks?action=indices |
GET | Live NIFTY, SENSEX, BANK NIFTY |
/api/stocks?action=search&q=TCS |
GET | Search stocks |
/api/ai |
POST | AI Chat (send message) |
/api/ml |
POST | ML Model predictions |
Command: "Predict RELIANCE 7 days"
Model: LSTM Neural Network (Simulated)
Output: Day-by-day price forecast with confidence scores
โ ๏ธ For demonstration only - NOT real predictions!
Command: "Sentiment TCS"
Sources: News articles (simulated analysis)
Output: Bullish/Bearish score with source breakdown
โ ๏ธ For demonstration only - NOT real sentiment data!
Command: "Optimize 10 lakhs aggressive"
Model: Modern Portfolio Theory (Markowitz) - Simulated
Output: Stock allocation, expected returns, risk metrics
โ ๏ธ For demonstration only - NOT real investment advice!
Features: Filter by Gainers, Losers, Buy-rated
Metrics: Price, Change%, P/E, Market Cap, Volume
Actions: Quick view, detailed analysis
- ๐ Premium Dark Theme - Easy on eyes, Groww-inspired
- โจ Glassmorphism Effects - Modern, translucent UI
- ๐ฑ Responsive Design - Works on all devices
- ๐ฏ User-Centric UX - Intuitive navigation
- โก Real-Time Updates - Live market data display
- ๐ User Authentication (NextAuth.js)
- ๐พ Database Integration (PostgreSQL)
- ๐ฑ Mobile App (React Native)
- ๐ค GPT-4 Integration for AI Chat
- ๐ TradingView Charts
- ๐ณ Paper Trading Feature
- ๐ Push Notifications
- โ Next.js 15 with App Router & Server Components
- โ TypeScript for type-safe development
- โ Real-time API Integration with Yahoo Finance
- โ AI/ML Concepts - LSTM, NLP, Portfolio Theory
- โ Modern UI/UX - Dark themes, glassmorphism, animations
- โ State Management & responsive design patterns
- โ API Development with Next.js Route Handlers
This project is licensed under the MIT License - see the LICENSE file for details.