Stock Market Prediction System Final Year Project | Source Code
LIMITED TIME
Get Source Code ₹99
Real project UI Full source included

No live demo yet — message us for access

Our team shares demo access on WhatsApp within minutes

Stock Market Prediction System Final Year Project

Complete final-year project source code with frontend, backend, database, and setup guide. Instant download after secure payment.

  • NODE-JS Stack
  • Instant Download
Secure CCAvenue payment Instant download link WhatsApp support

Choose your plan

Source Code Only

Full ZIP with frontend, backend, database & documentation.

₹99 one-time
  • Complete project source files
  • Database script included
  • How-to-run guide

What's in your download

Review features, setup steps, and credentials before you pay.

Project Overview

Description, tech stack, and what is included

Full source Frontend + backend
Database .sql file
Setup guide README included

Stock Market Prediction System is a full-stack stock market intelligence platform designed for Indian NSE-listed stocks. The system combines historical stock data analysis, interactive charts, 30-day LSTM machine learning predictions, financial news, user accounts, personalized watchlists, and an admin console for platform management.

The platform allows users to search NSE stocks, select custom date ranges, view Open/High/Close charts, export stock data to Excel, run LSTM-based prediction, read market news, manage watchlists with notes, update profile details, and delete accounts. Admin can manage users, announcements, featured stocks, platform statistics, active/inactive user status, admin roles, and landing-page content.

This project is suitable for B.Tech, M.Tech, BCA, MCA, BE, ME, BSc, and MSc students who need a practical final year project, major project, or minor project based on stock market prediction, machine learning, LSTM forecasting, MERN stack development, Python ML integration, financial data analysis, JWT authentication, MongoDB database design, and admin dashboard functionality. FileMakr can provide this project with source code, project report, documentation, and setup support for academic submission

Technical snapshot

Project
Stock Market Prediction System Final Year Project
Stack
NODE-JS
Includes
Code, DB, README
License
Academic submission
Secure CCAvenue payment · Instant download · Need help? WhatsApp us

Admin Features

Modules and controls available to administrators

  • Secure admin login in this final year project
  • Admin role-based access
  • Separate admin console
  • Violet/indigo admin theme
  • Admin dashboard
  • View total users
  • View active users
  • View inactive users
  • View total announcements
  • View active featured stocks
  • View aggregate watchlist items
  • View recent registrations
  • Quick links to users, announcements, and featured stocks
  • User management
  • List all users
  • Search users by name
  • Search users by email
  • Filter users by role
  • Filter users by active/inactive status
  • Create user
  • Add name, email, password, role, and status
  • Edit user
  • Update name
  • Update email
  • Update role
  • Update status
  • Reset user password
  • Delete user
  • Prevent deletion of own admin account
  • Assign user role
  • Promote user to admin
  • Change admin to user where allowed
  • Deactivate user account
  • Block login without deleting account
  • Announcement management
  • Create platform announcement
  • Add title and message
  • Select announcement type: info, success, warning, critical
  • Set announcement priority
  • Set announcement active/inactive status
  • Edit announcement
  • Delete announcement
  • Toggle announcement visibility on public landing page
  • Featured stock management
  • Add featured stock
  • Add stock symbol
  • Add company name
  • Add sector
  • Add description
  • Control display order on landing page
  • Toggle featured stock active/inactive status
  • Edit featured stock
  • Delete featured stock
  • Link featured stock cards to analyzer
  • Manage public landing page content through announcements and featured stocks

The admin panel includes dashboard, user management, announcements, and featured stocks modules with platform-level CRUD controls.

User Features

What end users can do in this application

  • User registration in this final year project
  • User login
  • JWT token stored in localStorage
  • Redirect after login
  • Error handling for invalid credentials
  • Deactivated account login blocking
  • Auto-login after successful registration
  • Public stock analyzer access
  • Search Indian NSE stocks
  • Search by company name
  • Search by stock symbol
  • Select custom start date
  • Select custom end date
  • Fetch OHLCV historical data
  • View Open, High, and Close price chart
  • View historical stock data table
  • Highlight minimum and maximum values
  • Export stock data to Excel
  • Save stock to watchlist after login
  • Run LSTM prediction
  • View AI prediction page
  • Generate 30-day LSTM forecast
  • View combined historical and predicted chart
  • View educational-use disclaimer
  • View financial news feed
  • Browse news cards
  • View title, author, date, image, and external link
  • Use paginated news feed
  • Daily local news cache
  • User dashboard
  • View watchlist count
  • View available stocks
  • View account status
  • Add stock to watchlist
  • Add notes to watchlist item
  • View watchlist table
  • View saved stock symbol and name
  • Edit watchlist notes
  • Remove stock from watchlist
  • Quick analyze saved stocks
  • Profile management
  • View own profile
  • Update name
  • Update email
  • Change password
  • Sign out
  • Delete account permanently

The user-side modules include stock analyzer, AI prediction, market news, login, register, dashboard, watchlist CRUD, and profile CRUD.

Other Features

Additional capabilities included in the project

  • MERN-style full-stack architecture in this final year project
  • Python ML pipeline integration
  • React 18 frontend
  • React Router 6 routing
  • Tailwind CSS fintech-style interface
  • Chart.js 4 interactive charts
  • React Toastify notifications
  • React Icons
  • XLSX Excel export
  • Node.js backend
  • Express 4 REST API
  • MongoDB database
  • Mongoose 8 ODM
  • JWT authentication
  • bcryptjs password hashing
  • CORS support
  • Python 3.10+ scripts
  • TensorFlow/Keras LSTM model
  • yfinance data fetch
  • pandas data processing
  • scikit-learn MinMaxScaler and metrics
  • NumPy 1.x compatibility for TensorFlow
  • Financial Modeling Prep news support
  • Alpha Vantage fallback support
  • Yahoo Finance fallback support
  • Multi-provider stock data fetch
  • 24-hour memory and disk cache for stock data
  • Admin-curated landing content
  • Inactive user blocking
  • Role-based admin access
  • Protected routes
  • Excel export of stock table
  • Watchlist CRUD
  • Announcements CRUD
  • Featured stocks CRUD
  • Educational and research use disclaimer

The technology stack includes React, Tailwind CSS, Chart.js, Node.js, Express, MongoDB, Mongoose, JWT, Python, TensorFlow/Keras, yfinance, pandas, scikit-learn, NumPy, and optional financial data APIs.

 

Technology Used

Layer Technology
Frontend React 18
Routing React Router 6
Styling Tailwind CSS
Charts Chart.js 4
Notifications React Toastify
Icons React Icons
Excel Export XLSX
Backend Node.js, Express 4
Database MongoDB
ODM Mongoose 8
Authentication JWT, bcryptjs
ML Runtime Python 3.10+
ML Model TensorFlow/Keras LSTM
Data Fetch yfinance
Data Processing pandas, NumPy
ML Scaling / Metrics scikit-learn
Optional APIs Alpha Vantage, Financial Modeling Prep, Yahoo Finance

Data Sources

The project uses a multi-provider fallback chain for stock data:

  1. Python yfinance as the primary source for NSE .NS tickers
  2. Alpha Vantage .BSE fallback when API key is configured
  3. Financial Modeling Prep when API key is configured
  4. Yahoo Finance as a last-resort fallback through yahoo-finance2

Stock data results are cached for 24 hours, and LSTM predictions use get_stockdata.py with TensorFlow/Keras on historical close prices.

How to Run

Step-by-step setup on your laptop or PC

Step 1: Open the Project

cd stockMarketPrediction


Step 2: Configure backend environment


 

cd backend

copy .env.example .env

For Mac/Linux:


 

cp .env.example .env


Step 3: Add backend environment variables

Edit backend/.env:


 

MONGO_URI=mongodb://127.0.0.1:27017/stockvision

JWT_SECRET=your_strong_jwt_secret

JWT_EXPIRES_IN=7d

CLIENT_URL=http://localhost:3000

PORT=3001

[email protected]

ADMIN_PASSWORD=Admin@123456

ADMIN_NAME=Platform Admin

ALPHA_VANTAGE_API_KEY=

FINANCIALMODELAPI=

Backend environment variables include MongoDB URI, JWT secret, token expiry, frontend URL, backend port, admin seed credentials, and optional stock/news API keys.


Step 4: Start MongoDB

For Windows:


 

net start MongoDB

For Mac:


 

brew services start mongodb-community

For Linux:


 

sudo systemctl start mongod

Or use MongoDB Atlas and set MONGO_URI in .env.


Step 5: Install and run backend


 

cd backend

npm install

node scripts/seedAdmin.js

node index.js

Expected output:


 

Server started on port 3001

MongoDB connected


Step 6: Install Python ML dependencies


 

cd backend

pip install -r requirements.txt

Verify installation:


 

python -c "import tensorflow; import yfinance; print('Python ML OK')"

NumPy must be below version 2.0 for TensorFlow compatibility, and the requirements file pins numpy>=1.26.0,<2.0.0.


Step 7: Install and run frontend

Open a new terminal:


 

cd frontend

npm install

npm start

Frontend opens at:


 

http://localhost:3000

Backend API runs at:


 

http://localhost:3001

The local ports are frontend 3000, backend API 3001, and MongoDB 27017

Login Credentials

Default demo accounts for testing after setup

Admin Account

Created by running:


 

node scripts/seedAdmin.js

Field Value
Email [email protected]
Password Admin@123456
Role admin

Admin seed credentials can also be customized using ADMIN_EMAIL, ADMIN_PASSWORD, and ADMIN_NAME in backend/.env.

Regular User Account

No default regular user exists. Create one using:

  • Register page: http://localhost:3000/register
  • Admin panel: Admin → Users → Add User

License

Usage terms for academic and personal projects

Related Tags

Search terms and categories for this source code

Stock Market Prediction System Final Year Project Source Code Final Year NODE-JS Project Ready-to-Run Code With Database File Plagiarism-Free Faculty Approved Stock Market Prediction System StockVision AI project stock prediction project stock market prediction final year project LSTM stock prediction project machine learning stock market project NSE stock prediction system MERN stack stock market project Python TensorFlow project MongoDB Express React Node project final year project major project minor project source code project report stock analyzer project financial news project watchlist management system admin panel stock prediction project college project source code