Stock-Sense-Pro is an AI + ML powered stock market analysis and portfolio management platform.
It provides live candlestick analysis, AI-powered price forecasts, portfolio tracking, and professional investment insights.
This project is a blend of Machine Learning and Generative AI:
- LightGBM models predict future stock prices.
- Google Gemini AI (domain-trained for stock insights) answers any query related to your investments — including risk analysis, profit/loss forecasts, and technical or fundamental outlook — in a professional and easy-to-understand way.
Currently, the app supports Top 5 Indian stocks on NSE:
- Reliance (RELIANCE.NS)
- Tata Consultancy Services (TCS.NS)
- HDFC Bank (HDFCBANK.NS)
- Infosys (INFY.NS)
- ICICI Bank (ICICIBANK.NS)
The motivation for Stock-Sense-Pro was to create a personalized AI investment assistant.
Stock trading is often overwhelming — multiple data points, technical analysis, fundamental ratios, and real-time volatility.
This project solves that by:
- Automating technical signals (Golden Cross, Death Cross, etc.)
- Using AI forecasting for price prediction
- Tracking your portfolio in real time
- Giving Gemini AI–powered professional advice for every query
The goal: make investment analysis accessible, data-driven, and AI-assisted.
- Shows candlestick charts for the selected stock.
- Includes 20-day and 50-day Moving Averages (MAs) for quick trend analysis.
- Detects Golden Cross (Buy) and Death Cross (Sell) signals automatically.
- Predicts 30-day future prices using LightGBM.
- Provides a confidence interval (shaded area) for better risk awareness.
- Displays predictions in both graph format and tabular format for easy tracking.
- Add your investments with buy price and quantity.
- Tracks current price, total value, and profit/loss in real-time.
- Visual profit vs. invested pie chart included.
- Ask any investment-related question about a stock.
- Gemini provides a structured professional analysis covering:
- Current situation overview
- Technical indicators
- Fundamental analysis
- Risk assessment
- Final recommendation
- Users can zoom, pan, download, or reset charts easily.
- A clean user dashboard to switch between supported stocks instantly.
Follow these steps to run Stock-Sense-Pro locally:
git clone https://github.com/KrishAdi6969/Stock-Sense-Pro.git
cd Stock-Sense-Propython -m venv stocksense_env
source stocksense_env/bin/activate # On Linux/Mac
stocksense_env\Scripts\activate # On Windowspip install -r requirements.txtstreamlit run stock_app.pyhttp://localhost:8501-
Add more stocks (US, Global, Crypto, ETFs).
-
Introduce risk profiling for different investor types.
-
Portfolio auto-refresh with live market API integration.
-
Add multi-language Gemini support for global users.
-
Enable cloud deployment for public access.
This project is open source. Contributions, suggestions, and feature requests are welcome!
For ideas, improvements, or collaboration, reach out at: 📧 [email protected]






