
# Stock Analyst
AI-powered application for analyzing stocks
## Functional Description
Stock Analyst is an AI-powered application that automates the collection and analysis of stock investment recommendations from web sources, combining them with fundamental financial analysis to help users make informed investment decisions.
### Problem It Solves
Investors face the challenge of aggregating and analyzing stock recommendations scattered across numerous financial websites, articles, and analyst reports. Manually collecting, organizing, and evaluating this information is time-consuming and error-prone. Additionally, investors need tools to validate these recommendations against fundamental financial metrics to assess their credibility.
### How It Works
The application uses a multi-stage AI workflow to automate stock recommendation discovery and analysis:
1. Automated Web Scraping & Analysis:
- Searches financial websites using Google Custom Search API for articles containing stock recommendations
- Uses an LLM to intelligently extract structured stock data (ticker, rating, price targets, analysis dates) from web content
- Validates extracted data to prevent hallucinations and ensure accuracy
- Stores recommendations in a local database with quality scoring
2. Fundamental Analysis:
- Provides DCF (Discounted Cash Flow) valuation calculator to estimate fair stock prices
- Integrates financial data from Yahoo Finance and Finnhub APIs
- Calculates WACC (Weighted Average Cost of Capital) automatically or allows custom discount rates
- Supports customizable forecast periods and growth rate assumptions
3. Unified Interface:
- Streamlit-based web interface for browsing recommendations, managing favorites, and performing valuations
- Combines web-sourced recommendations with fundamental analysis for comprehensive stock evaluation
- Password-protected access for security
### Key Features
- 📊 Stock Recommendations: Automated collection and extraction of stock recommendations from financial websites with ratings, price targets, and analysis dates
- 💰 DCF Valuation: Calculate intrinsic stock values using discounted cash flow analysis with customizable parameters
- ⭐ Favorites Tracking: Save and monitor favorite stocks and their performance over time
- 🤖 AI-Powered Extraction: Uses LLM to intelligently parse unstructured web content into structured stock recommendation data
- 🔍 Quality Scoring: Automatically assesses recommendation quality based on detail level, explicit ratings, and reasoning depth
- 📈 Real-time Data: Integrates with financial APIs for current market prices and financial metrics