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
-
๐ฐ 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 usinglocalStorage.
- React (Vite)
- Tailwind CSS
- Axios
- Browser Notification API
- Deployed on Vercel
-
Express.js
-
Cheerio (for web scraping)
-
OpenAI API (GPT-4o)
-
CORS, dotenv, nodemon
-
Deployed on Vercel
cd backend
npm install
# Set your OpenAI API key in .env
npm run devreplace 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