A comprehensive web application built with Streamlit for analyzing Indian stocks (NSE) with features including real-time price tracking, technical analysis, sentiment analysis, and price predictions.
-
Overall Market Status
- Real-time tracking of major indices (NIFTY, SENSEX, etc.)
- Live intraday NIFTY chart
- Gold and Silver prices
- Dow Jones tracking
-
Stock Analysis Tools
- Current Price Tracking
- Historical Price Analysis
- Multi-stock Comparison
- Time Series Analysis
- Technical Indicators (SMA, RSI, MACD)
- Fundamental Analysis
- News Sentiment Analysis
- Price Predictions using Machine Learning
python 3.x
yfinance
gnews
nltk
numpy
pandas
streamlit
plotly
scikit-learn
ta (Technical Analysis Library)
- Clone the repository:
git clone https://github.com/aarohiin/Stock-Prediction-and-Analysis/tree/main
cd stock-analysis-dashboard- Install required packages:
pip install -r requirements.txt- Run the Streamlit app:
streamlit run Stock_dashboard.py-
Navigate to the provided local URL (typically
http://localhost:8501) -
Use the sidebar to select different analysis options:
- Overall Market Status
- Current Price
- Price Between Dates
- Stock Comparison
- Time Series Analysis
- Fundamental Analysis
- Prediction (Gyaani Baba)
- Technical Analysis
- Real-time stock prices
- Latest news and sentiment analysis
- Historical price data
- Interactive line charts
- Multiple stock comparison
- Comparative price charts
- One-year historical data
- Trend visualization
- Market Cap
- PE Ratio
- Dividend Yield
- EPS
- 52-Week High/Low
- Machine learning-based price predictions
- Random Forest model
- Performance metrics
- Future price forecasts
- SMA (50 and 200 days)
- RSI Indicator
- MACD
- Interactive charts
- Stock data: Yahoo Finance (yfinance)
- News data: Google News (gnews)
- Technical Indicators: Technical Analysis Library (ta)
- The app uses caching to optimize data fetching
- Predictions are based on historical data and should not be used as the sole basis for investment decisions
- News sentiment analysis is performed using NLTK's VADER sentiment analyzer
Feel free to submit issues, fork the repository, and create pull requests for any improvements.
Created by Aarohi
Disclaimer: This tool is for educational and research purposes only. It should not be considered as financial advice. Always do your own research before making investment decisions.