StockView is a desktop web application for real-time stock market analysis. It combines interactive data visualization, anomaly detection, news sentiment insights, and machine learningβbased price predictions into a single dashboard.
π Live Deployment:
- Frontend (Vercel) β View App
- Backend (Render) β See
DEPLOYMENT_COMPLETE_GUIDE.mdfor deployment instructions
-
Real-time Stock Data β Current price, open, high, low, and volume.
-
Interactive Charts β Zoom/pan with SMA, anomaly highlights, and prediction overlays.
-
Technical Indicators β SMA, RSI, MACD, Bollinger Bands, ATR, and more.
-
Anomaly Detection β Detects unusual price movements via Z-score.
-
Machine Learning Predictions β
- Algorithms: Linear Regression, Random Forest, XGBoost, LightGBM, CNN.
- Metrics: RΒ², MAE, MSE.
- Algorithm comparison dashboard.
-
News & Sentiment Analysis β Headlines with Positive/Neutral/Negative labels and sentiment charts.
-
Watchlist β Add/remove stock symbols, synced with Firebase.
- React + Hooks for state management
- Recharts for interactive visualization
- TailwindCSS for UI styling
- Firebase (Cloud Firestore) for watchlist persistence
- FastAPI for REST API
- Yahoo Finance (
yfinance) for stock data - VADER Sentiment Analyzer for news sentiment
- ML Models: scikit-learn, XGBoost, LightGBM, TensorFlow (CNN)
- Technical indicators with
talibrary
StockView/
βββ frontend/
β βββ App.jsx # React app (UI and chart logic)
β βββ ...
β
βββ backend/
β βββ main.py # FastAPI backend with endpoints
β βββ ...
β
βββ README.md
Replace the placeholder images above with actual screenshots of your app for a better showcase.
For complete deployment instructions, see DEPLOYMENT_COMPLETE_GUIDE.md
Quick Overview:
- Backend: Deploy to Render (see guide for details)
- Frontend: Deploy to Vercel (see guide for details)
- Firestore: Configure security rules in Firebase Console
cd backend
pip install -r requirements.txt
uvicorn main:app --reloadRuns at β http://localhost:8000
cd frontend
npm install
npm run devRuns at β http://localhost:5173
- Search for a stock symbol (e.g.,
AAPL,TSLA). - Explore real-time price charts with SMA and anomalies.
- Toggle ML predictions and model comparison.
- Check news headlines with sentiment analysis.
- Save your favorite stocks in the watchlist.
This project is for educational purposes only. Predictions and insights are not financial advice.
- Optimized for desktop browsers only (not mobile responsive).
- Requires valid API keys (News API, Firebase, etc.).
- Works best on Chrome, Edge, or Firefox.



