Skip to content

About

StockSense Pro is an AI-powered stock market analysis app built with Streamlit. It provides live candlestick charts with moving averages, trading signals, AI-powered price forecasts, portfolio tracking with profit/loss visualization, and an AI investment advisor powered by Gemini. Designed for actionable insights and easy portfolio management.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

Stock-Sense-Pro 📈

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)

Motivation 💡

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.


Features 🌟

📊 Live Market Analysis

  • 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.

🤖 AI-Powered Forecast

  • 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.

💰 Portfolio Tracker

  • 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.

🧠 Gemini AI Investment Advisor

  • 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

Extra Facilities 🛠️

Interactive Chart Tools

  • Users can zoom, pan, download, or reset charts easily.

Stock Selection Dashboard

  • A clean user dashboard to switch between supported stocks instantly.

How to Run 🚀

Follow these steps to run Stock-Sense-Pro locally:

Clone the repository

git clone https://github.com/KrishAdi6969/Stock-Sense-Pro.git
cd Stock-Sense-Pro

Create virtual environment

python -m venv stocksense_env
source stocksense_env/bin/activate   # On Linux/Mac
stocksense_env\Scripts\activate      # On Windows

Install dependencies

pip install -r requirements.txt

Run the app

streamlit run stock_app.py

Open in browser

http://localhost:8501

Improvements and Future Ideas 🚀

  • 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.

Open Source & Contact 📬

This project is open source. Contributions, suggestions, and feature requests are welcome!

For ideas, improvements, or collaboration, reach out at: 📧 [email protected]

About

StockSense Pro is an AI-powered stock market analysis app built with Streamlit. It provides live candlestick charts with moving averages, trading signals, AI-powered price forecasts, portfolio tracking with profit/loss visualization, and an AI investment advisor powered by Gemini. Designed for actionable insights and easy portfolio management.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages