An AI-powered stock market analysis platform that provides comprehensive financial data and intelligent insights through a conversational interface.
Market Insight leverages advanced AI agents to deliver real-time stock market information, financial analysis, and investment insights. The platform combines the power of LangChain and OpenAI's language models with Yahoo Finance data to create an intelligent assistant for stock market research.
Backend:
- FastAPI for high-performance API endpoints
- LangChain & LangGraph for AI agent orchestration
- OpenAI GPT models for intelligent responses
- YFinance for financial data retrieval
- Langfuse for observability and tracing
Frontend:
- Modern React-based interface
- Real-time streaming responses
- Responsive design for all devices
- Python 3.x
- Node.js (for frontend)
- OpenAI API key
- Clone the repository
- Install Python dependencies:
pip install -r requirements.txt
- Set up environment variables in
.envfile - Install frontend dependencies:
cd frontend npm install - Run the backend server:
python main.py
- Run the frontend development server:
cd frontend npm run dev - Access the API at
http://localhost:8000and frontend athttp://localhost:5173
MarketInsight/
├── components/ # AI agent configuration
├── utils/ # Tools and utilities
├── config/ # Configuration files
├── frontend/ # React frontend application
└── main.py # FastAPI server entry point
The platform provides 16 specialized tools for comprehensive stock analysis:
- Stock price tracking
- Historical data analysis
- Financial statements (Balance Sheet, Income Statement, Cash Flow)
- Company information and ratios
- Dividend and split history
- Ownership and holder data
- Insider transactions
- Analyst recommendations
- Company ticker lookup