Skip to content

BigBang001/Stock_Analysis_AI

Repository files navigation

🤖 Stock Analysis AI - Multi-Agent Intelligence System

Stock Analysis AI React TypeScript Tailwind

A sophisticated stock analysis platform powered by a multi-agent AI architecture that provides comprehensive insights, real-time data analysis, and intelligent market commentary using natural language queries.

📱 Live Project

Using Netify

Simply click the link above to see the live project: https://stock-analysis-ai.netlify.app

💻 Demo Video

Demo-Stock-Analysis.ai.mp4

🚀 Features

🧠 Multi-Agent Architecture

  • Ticker Identifier Agent: Extracts stock symbols from natural language queries
  • News Agent: Fetches and analyzes latest stock-related news
  • Price Agent: Retrieves real-time stock prices and market data
  • Price Change Agent: Calculates price movements and trends
  • Analysis Agent: Provides comprehensive AI-powered insights

💡 Intelligent Query Processing

  • Natural language understanding for stock queries
  • Smart ticker symbol extraction from company names
  • Context-aware stock identification
  • Advanced pattern matching for various query formats

📊 Comprehensive Analysis

  • Real-time stock price data
  • Price change calculations with percentage movements
  • Sentiment analysis of market news
  • AI-generated investment insights
  • Confidence scoring for predictions

🎨 Modern UI/UX

  • Beautiful gradient design with glassmorphism effects
  • Responsive layout for all devices
  • Real-time loading states and animations
  • Interactive example queries
  • Professional data visualization

🛠️ Tech Stack

  • Frontend: React 18.3.1 + TypeScript
  • Styling: Tailwind CSS + shadcn/ui components
  • Build Tool: Vite
  • Icons: Lucide React
  • State Management: React Hooks
  • Architecture: Agent-based design pattern

🎯 Example Queries

The AI understands natural language queries like:

  • "Why did Tesla stock drop today?"
  • "What's happening with Palantir stock recently?"
  • "How has Nvidia stock changed in the last 7 days?"
  • "Apple stock price analysis"
  • "Show me Microsoft's current performance"

🏗️ Project Structure

src/
├── agents/                 # AI Agent implementations
│   ├── TickerIdentifierAgent.tsx    # Company/ticker identification
│   ├── TickerNewsAgent.tsx          # News fetching and analysis
│   ├── TickerPriceAgent.tsx         # Price data retrieval
│   ├── TickerPriceChangeAgent.tsx   # Price movement calculations
│   └── TickerAnalysisAgent.tsx      # Comprehensive analysis
├── components/            # React components
│   ├── AgentOrchestrator.tsx        # Agent coordination
│   ├── StockAnalysisResults.tsx     # Results display
│   └── ui/                          # shadcn/ui components
├── types/                 # TypeScript definitions
│   └── stock.ts          # Stock-related interfaces
└── pages/                # Application pages
    └── Index.tsx         # Main application page

🚦 Getting Started

Prerequisites

  • Node.js (v16 or higher)
  • npm or yarn

Installation

  1. Clone the repository

    git clone https://github.com/BigBang001/Stock_Analysis_AI
    cd Stock_Analysis_AI
  2. Install dependencies

    npm install
  3. Start the development server

    npm run dev
  4. Open your browser Navigate to http://localhost:5173 to see the application

🔧 Development

Available Scripts

  • npm run dev - Start development server with hot-reload
  • npm run build - Build for production
  • npm run preview - Preview production build locally
  • npm run lint - Run ESLint for code quality

Adding New Agents

To extend the system with new agents:

  1. Create a new agent class in src/agents/
  2. Implement the AgentResponse interface
  3. Add the agent to AgentOrchestrator.tsx
  4. Update type definitions in src/types/stock.ts

🎨 UI Components

Built with shadcn/ui for consistent, accessible components:

  • Cards for data display
  • Badges for sentiment indicators
  • Buttons with loading states
  • Input fields with validation
  • Responsive grid layouts

🔮 Future Enhancements

  • Real-time WebSocket data feeds
  • Advanced charting with technical indicators
  • Portfolio tracking and management
  • Email alerts and notifications

🤝 Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages