Skip to content

rahulptl165/Stock-Market-News-AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

14 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“ˆ Stock Market News AI

An AI-powered full-stack web application that curates Indian stock market news, allows users to link their stock portfolio, and uses OpenAI to analyze how each news item might impact their holdings.

Live Demo ๐Ÿ‘‰ Click here


๐Ÿš€ Features

  • ๐Ÿ“ฐ Live News Feed
    Scrapes latest stock market headlines from Indian sources like Moneycontrol, Economic Times, etc.

  • ๐Ÿงพ Portfolio Management
    Users can input and store stock symbols in their portfolio locally (supports comma-separated input and removal of individual items).

  • ๐Ÿง  AI-Based Sentiment Analysis
    News headlines related to userโ€™s portfolio are analyzed using OpenAI GPT-4o for impact:

    • Impact: Positive / Neutral / Negative
    • Reason: Short explanation
  • ๐Ÿ’พ Local Persistence
    User portfolio and preferences are stored using localStorage.


๐Ÿ› ๏ธ Tech Stack

๐Ÿง‘โ€๐Ÿ’ป Frontend:

  • React (Vite)
  • Tailwind CSS
  • Axios
  • Browser Notification API
  • Deployed on Vercel

๐Ÿง  Backend:

  • Express.js

  • Cheerio (for web scraping)

  • OpenAI API (GPT-4o)

  • CORS, dotenv, nodemon

  • Deployed on Vercel

    โš™๏ธ Setup Instructions

    Backend

cd backend
npm install
# Set your OpenAI API key in .env
npm run dev

๐Ÿ–ฅ๏ธ Frontend

replace vercel backend url with http://localhost:5000/ in frontend.

git clone https://github.com/your-username/stock-news-ai.git
cd frontend
npm install
npm run dev

About

This Project allows user to integrate their portfolio and get all news related to stock market. Also, It has filtered news section that related to users portfolio. It has OpenAi API integration that shows impact of news on portfolio with short reasoning.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors