Stock
A web-based stock analysis application built with React and Flask, offering interactive visualizations and machine learning-based stock price predictions.
Install / Use
/learn @SrigadaAkshayKumar/StockREADME
AI Stock Analyzer
The Stock Analyzer project is a complete stock market analysis tool utilizing ML models. It allows users to input stock symbols, select date ranges, view historical stock trends, and see future stock price predictions via interactive charts.
<div align = "center" <img alt="Stars" src="https://img.shields.io/github/stars/SrigadaAkshayKumar/stock?style=flat&logo=github"/> <img alt="Forks" src="https://img.shields.io/github/forks/SrigadaAkshayKumar/stock?style=flat&logo=github"/> <img alt="Issues" src="https://img.shields.io/github/issues/SrigadaAkshayKumar/stock?style=flat&logo=github"/> <img alt="Issues Closed" src="https://img.shields.io/github/issues-closed/SrigadaAkshayKumar/stock?style=flat&logo=github"/> <img alt="Open Pull Requests" src="https://img.shields.io/github/issues-pr/SrigadaAkshayKumar/stock?style=flat&logo=github"/> <img alt="Close Pull Requests" src="https://img.shields.io/github/issues-pr-closed/SrigadaAkshayKumar/stock?style=flat&color=green&logo=github"/> </div>Live Demo
#OSCI #OpenSourceConnect
Overview
Home Page

Stock Analysis View

Stock Predictions
Technologies Used
- React: User Interface
- Plotly.js: Interactive visualizations
- Axios: API calls
- Flask: Backend Framework
- yfinance: Stock data extraction
- Pandas: Data manipulation
Directory Structure
Directory structure:
└── srigadaakshaykumar-stock/
├── LICENSE
├── README.md
├── SETUP.md
├── CONTRIBUTION.md
├── CODE_OF_CONDUCT.md
├── SECURITY.md
├── package-lock.json
├── package.json
├── static.json
├── backend/
├──app/
├──data/
│ ├── app.py
| ├── generate_csvs.py
│ ├── requirements.txt
│ ├── stock-prediction.ipynb
│ └── tf.keras
├── public/
| ├── icon.png
│ ├── index.html
│ ├── manifest.json
│ └── robots.txt
└── src/
├── App.css
├── App.js
├── App.test.js
├── index.css
├── index.js
├── reportWebVitals.js
├── setupTests.js
└── components/
├── About.jsx
├── AuthContext.jsx
├── BackToTopBtn.jsx
├── ContactForm.jsx
├── firebase.js
├── Footer.css
├── Footer.jsx
├── Header.jsx
├── Login.css
├── Login.js
├── Prediction.jsx
├── SentimentChart.jsx
├── SignUp.css
├── Signup.jsx
├── Stockdata.jsx
├── StockMetricCard.jsx
├── StockList.jsx
└── data/
└── stockData.json
API Endpoints
| Endpoint | Method | Description |
| ----------------------- | ---------- | --------------------------- |
| /api/stocks/<ticker> | GET | Fetch historical stock data |
| /api/predict/<ticker> | GET | Predict future stock prices |
Data Pipeline Architecture

Project Status
Stock Analyzer is currently in the development stage and hosted on a free hosting service for testing purposes.
The latest pulls are merged every Saturday.
Future Enhancements
We have a clear roadmap for improvements:
- Allow more API calls per day
- Reduce response time for end users
- Add International stock exchanges
- Enhance the user interface for better experience
- Improve machine learning model accuracy
- Provide more insightful and interactive visualizations
- Migrate deployment from Render to Google Cloud Platform (GCP)
Contributions
We welcome all forms of open-source contributions — whether it's a:
- Bug fix
- New feature
- Enhancement or optimization
Please make sure to:
- Review our Contribution Guidelines
- Follow the Setup Instructions to run the project locally
- Join the Discord

License
This project is licensed under the MIT License.
You’re free to use, modify, and share this software under the license terms.

