Back to Projects
Project 8 - Mar 13, 2026

Stock Analyzer

AI-Powered Stock Analysis with Real-Time Market Data, Technical Indicators & Investment Insights

A full-stack stock analysis platform that combines real-time market data from Financial Modeling Prep with AI-powered qualitative analysis from Azure OpenAI (Kimi K2.5). Search any US stock and get live quotes, interactive candlestick charts from IPO to today, technical indicators (SMA, EMA, RSI, MACD, Bollinger), AI investment recommendations, price predictions, news sentiment, and long-term growth projections — all in one beautiful interface.

Tech Stack

Re
React 19

Frontend UI

FA
FastAPI

Backend API

AI
Azure OpenAI

Kimi K2.5 model

TV
TradingView Charts

Interactive charts

The Problem

Getting a complete picture of any stock requires too many tools:

  • Price data on one site, news on another, analysis on a third
  • Technical indicators require expensive charting platforms
  • No AI-powered investment insights for retail investors
  • Earnings data, risk factors, and sentiment scattered everywhere
  • No tool combines real market data with AI qualitative analysis

The Solution

One search box that gives you everything:

  • Real-time quotes, historical OHLC, and company profiles from FMP API
  • Interactive candlestick charts with volume — IPO to today, 7 time ranges
  • Technical indicators computed locally: SMA, EMA, RSI, MACD, Bollinger
  • AI-powered recommendations, price predictions, and risk assessment
  • News sentiment analysis and quarterly earnings in one view

Core Features

Live Stock Quotes

Real-time price, day range, 52-week range, market cap, P/E ratio, volume — all from Financial Modeling Prep API with 30-second refresh.

Interactive Charts

TradingView-quality candlestick charts with volume overlay, 7 time ranges (1W to ALL), and full history from IPO date to today.

AI Recommendations

Buy/Sell/Hold recommendations with confidence scores, bull vs. bear case narratives, and price predictions from 1 week to 10 years.

Technical Indicators

SMA (20/50/200), EMA, RSI, MACD with signal line, Bollinger Bands, support & resistance levels — all computed locally, not from API.

News Sentiment

AI-analyzed news sentiment tagged as positive, negative, or neutral. See what the market is saying about your stock at a glance.

Growth Projections

Long-term outlook with 1Y, 5Y, 10Y horizons, CAGR estimates, investment calculator ($10K/$50K/$100K), catalysts, and risk factors.

Three-Phase Architecture

A single API call triggers a three-phase pipeline that merges real market data with AI-powered qualitative analysis into one unified response.

React Frontend Vite + Zustand + TW4
FastAPI Router POST /api/analyze/{ticker}
MarketDataService Quotes + OHLC + Technicals
AIAnalysisService Azure OpenAI (Kimi K2.5)
Merged Response Real data + AI insights

By the Numbers

Production-grade quality with comprehensive test coverage

1,571+ Tests

826 frontend (Vitest + RTL) + 745 backend (pytest) — all passing

97%+ Coverage

97.85% frontend, 99% backend — every service, component, and edge case

React 19 + TypeScript

Strict mode, no any types, functional components with hooks

FastAPI + Pydantic v2

Async I/O, type-safe models, structured JSON error responses

7 Time Ranges

1W, 1M, 3M, 6M, 1Y, 5Y, ALL — full price history from IPO date

Docker Ready

Multi-stage build — Node compiles frontend, Python serves everything

Setup Guide

1

Clone & Configure

Get the source code and set up your API keys:

git clone https://github.com/DandaAkhilReddy/Stock_analyzer.git && cd Stock_analyzer && cp backend/.env.example backend/.env

Paste your AZURE_OPENAI_API_KEY and FMP_API_KEY into backend/.env

2

Run with Docker

One command to build and start everything:

docker compose up --build

App runs at http://localhost:8000 with health checks on /health

3

Search Any Stock

Open the app and start analyzing:

open http://localhost:8000 # Search AAPL, MSFT, TSLA, NVDA...

Try Stock Analyzer Now

Search any US stock and get AI-powered analysis in seconds. No signup required — just open the app and start exploring.