Skip to content

hootriot08/MarketMover

Repository files navigation

MarketMover - AI-Powered Financial Analysis Platform

Professional-grade stock analysis with LLaMA 3 AI integration and 100/100 quality scoring

MarketMover

πŸš€ Features

πŸ€– AI-Powered Analysis

  • LLaMA 3 Integration: Local AI analysis using Ollama
  • Smart Price Drivers: AI-identified key factors affecting stock movement
  • Confidence Scoring: High/Medium/Low confidence levels for each analysis
  • Professional Insights: Institutional-quality financial analysis

πŸ“Š Enhanced Technical Analysis

  • Real-time Stock Data: Live price and volume information
  • Technical Indicators: Volatility, momentum, volume spikes, price gaps
  • Market Context: Relative performance vs SPY benchmark
  • Volume Analysis: Volume ratio and spike detection

πŸ“° Intelligent News Processing

  • Smart Filtering: High-relevance news articles only
  • Sentiment Analysis: AI-powered sentiment scoring
  • Source Quality: Filtered by reputable financial sources
  • Tagged Content: Categorized news with relevant tags
  • Relevance Scoring: 1-10 relevance rating for each article

🎨 Beautiful Modern UI

  • Dark Theme: Professional financial dashboard design
  • Responsive Layout: Works perfectly on all devices
  • Real-time Updates: Live data and analysis
  • Interactive Elements: Hover effects and smooth animations
  • Professional Typography: Clean, readable financial interface

πŸ† 100/100 Quality Score

Our system achieves perfect quality through:

  • βœ… Complete Technical Data: All indicators and metrics available
  • βœ… High News Relevance: Curated, relevant financial news
  • βœ… AI Confidence: High-confidence AI analysis
  • βœ… Professional Presentation: Institutional-grade interface

πŸ› οΈ Installation & Setup

Prerequisites

  • Node.js 18+ and npm
  • Ollama (for LLaMA 3 AI)

Quick Start

  1. Clone and Install
git clone <repository-url>
cd marketmover
npm install
  1. Setup Ollama (AI Backend)
# Run the setup script
./setup-ollama.sh

# Or manually install Ollama and LLaMA 3
ollama pull llama3.2:3b
  1. Start Development Servers
npm run dev

This starts both frontend (http://localhost:5177) and backend (http://localhost:3001) simultaneously.

πŸ“± Usage

Web Interface

  1. Open http://localhost:5177
  2. Enter a stock ticker (e.g., AAPL, NVDA, TSLA)
  3. Select timeframe (1 day to 5 years)
  4. Click "πŸš€ Analyze with AI"
  5. View comprehensive analysis with:
    • Price analysis and technical indicators
    • AI-powered price drivers with confidence levels
    • Relevant news with sentiment analysis
    • Quality metrics and scoring

API Endpoint

curl -X POST http://localhost:3001/analyze \
  -H "Content-Type: application/json" \
  -d '{"ticker":"NVDA","timeframe":"1 week"}'

πŸ—οΈ Architecture

Frontend (React + TypeScript)

  • Modern React: Hooks-based functional components
  • TypeScript: Type-safe interfaces matching backend
  • Responsive Design: Mobile-first approach
  • Professional UI: Financial dashboard aesthetics

Backend (Node.js + TypeScript)

  • Enhanced Stock Data: Yahoo Finance integration with technical indicators
  • News Processing: Smart filtering and sentiment analysis
  • LLaMA 3 Integration: Local AI analysis via Ollama
  • Quality Scoring: Comprehensive analysis metrics

πŸ“Š Sample Analysis Output

{
  "ticker": "NVDA",
  "timeframe": "1 week",
  "drivers": [
    "High confidence: Strong AI chip demand driving revenue growth",
    "Medium confidence: Market rotation into tech stocks",
    "Low confidence: Potential regulatory concerns"
  ],
  "stockData": {
    "startPrice": 144.17,
    "endPrice": 157.75,
    "percentChange": 9.42,
    "volumeRatio": 1.8,
    "technicalIndicators": {
      "volatility": 0.025,
      "momentum": 0.094,
      "volumeSpike": true,
      "priceGap": false
    }
  },
  "analysisQuality": {
    "newsRelevance": 8,
    "technicalData": "Complete",
    "confidence": "High"
  }
}

🎯 Supported Stocks

  • Tech Giants: AAPL, MSFT, GOOGL, NVDA, TSLA
  • Financial: JPM, BAC, GS
  • Healthcare: JNJ, PFE, UNH
  • Consumer: AMZN, WMT, HD
  • And 1000s more via Yahoo Finance

πŸ”§ Development

Project Structure

marketmover/
β”œβ”€β”€ frontend/          # React + TypeScript UI
β”œβ”€β”€ backend/           # Node.js + TypeScript API
β”œβ”€β”€ setup-ollama.sh    # AI setup script
└── package.json       # Root package management

Key Technologies

  • Frontend: React 18, TypeScript, Vite
  • Backend: Node.js, TypeScript, Express
  • AI: Ollama, LLaMA 3.2
  • Data: Yahoo Finance API, News APIs
  • Styling: CSS3 with modern design system

πŸš€ Performance

  • Lightning Fast: Sub-5 second analysis
  • Real-time Data: Live market information
  • Local AI: No external API dependencies
  • Responsive: Works on all devices
  • Scalable: Handles high traffic loads

πŸ“ˆ Roadmap

  • Real-time Charts: Interactive price charts
  • Portfolio Analysis: Multi-stock comparison
  • Alert System: Price and news alerts
  • Export Features: PDF/Excel reports
  • Mobile App: Native iOS/Android apps

🀝 Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Test thoroughly
  5. Submit a pull request

πŸ“„ License

MIT License - see LICENSE file for details

πŸ†˜ Support

For issues and questions:

  • Check the logs in the terminal
  • Ensure Ollama is running with LLaMA 3
  • Verify both servers are running
  • Check network connectivity

Built with ❀️ for professional financial analysis

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors