Major 12211
Major 12211
Major 12211
Submitted by
VAIDIK SHRIVASTAVA (0108CS201132)
SHUBHAM NANDA (0108CS201117)
Under Supervision of
Prof. Mukesh Azad
Submitted to
Prof. Mukesh Azad
CERTIFICATE
This is to certify that the Major Project entitled “Stock Price Prediction”
submitted by Vaidik Shrivastava (Enrolment no. 0108CS201132), Shubham Nanda
(Enrolment No. 0108CS201117), in the partial fulfilment of the requirements for
the award of degree of Bachelor of Technology in the specialization of Computer
Science and Engineering from Samrat Ashok Technological Institute, Vidisha
(M.P.) is a record work carried out by him under my supervision and guidance.
The matter presented in this report has not been presented by him elsewhere for
any other degree or diploma.
The matter embodied in this report has not been submitted by me for the award
of any other degree or diploma.
Date:
When I started making this Major Project with my teammates, we faced various
problems then we found the information that helped us get a better knowledge of
how to develop an efficient Stock Price Prediction and I am glad that I was able to
complete this project along with my teammates and research this field. The
preparation of this project was an immense learning experience, and we inculcated
many personal qualities during this process like accountability, regularity, and self-
confidence.
I would like to thank my Guide, Prof. Mukesh Azad who supported us throughout
the process cleared our doubts with a thorough explanation and motivated us to add
different and new things to our project, our Project Coordinator, Prof. Mukesh
Azad, who guided us to choose this topic and kept the record of our progress, and
to our respected HOD, Dr. Kanak Saxena Ma’am, who also played a big role in the
finalization of our project file. I am taking this opportunity to acknowledge their
support and I hope that they keep supporting us like this in the future. This project
is a bridge between theoretical and practical learning and with this thought process,
we worked on the project and made it successful. Once again, I would like to thank
my teammates and guides for their encouragement and assistance in designing this
project to life.
SNO. TITLE
1. Problem Statement
4. Methodology
5. Expected Outcomes
6. References
PROBLEM STATEMENT
The project's objective is to develop a web application for stock price prediction
utilizing machine learning techniques to provide reliable forecasts of future stock
prices. This sophisticated model incorporates historical stock data, market
indicators, and pertinent information to make precise predictions. The primary aim
is to furnish investors with a robust tool that enhances decision-making in the
dynamic stock market environment. By leveraging advanced algorithms and
comprehensive data analysis, the application strives to offer users valuable insights
into potential market trends. Investors can benefit from the model's ability to
process a diverse range of information, enabling them to make informed decisions
about buying, selling, or holding stocks.
The goal is to empower users with a user-friendly and accurate tool that contributes
to more effective and strategic investment choices. As financial markets are
inherently complex and unpredictable, the web application aims to provide a
valuable resource for investors seeking a data-driven approach to navigate the
intricacies of stock price movements.
AIMS AND OBJECTIVES
The project aims to construct an advanced stock price prediction model by
employing artificial intelligence algorithms, specifically Artificial Neural
Networks (ANN) and Random Forest. This model integrates with stock market
chart patterns such as Inverse Head and Shoulder, Double Bottom, and Triple
Bottom, enhancing predictive accuracy. The objective is to provide investors and
traders with refined decision support based on comprehensive analysis of historical
stock data. The model ensures real-time updates, facilitating more informed
decisions in the dynamic stock market environment. Through the synergy of AI
and chart patterns, the project aspires to deliver a precise and timely tool for
investment decision-making.
Objectives:
• Data Collection: Gather historical stock price data, financial news sentiment
data, and relevant market indicators from reliable sources.
• Feature Engineering: Identify and preprocess relevant features such as stock
price history, trading volumes, financial ratios, and market news sentiment
scores.
• Model Selection: Explore various machine learning algorithms and deep
learning techniques to choose the most suitable model for stock price
prediction.
• Training and Validation: Train the selected model on historical data and
validate its performance using appropriate evaluation metrics (e.g., RMSE,
MAE, or accuracy).
• Hyperparameter Tuning: Optimize the hyperparameters of the chosen model
to achieve the best possible prediction accuracy.
• Real-time Data Integration: Implement a mechanism to ingest and process
real-time data, ensuring the model stays up to date with the latest market
information.
• Interpretability: Ensure that the model's predictions can be explained and
interpreted, providing insights into why certain predictions were made.
• Deployment: Deploy the trained model in a production environment where it
can be accessed by users or integrated into trading systems.
• Monitoring and Maintenance: Continuously monitor the model's
performance and retrain it periodically to adapt to changing market
conditions.
• Risk Management: Implement safeguards and risk assessment mechanisms
to mitigate potential financial losses resulting from model predictions.
Review of Existing Models
1. Data Collection:
2. Data Preprocessing:
- Clean and preprocess the acquired data, handling missing values and outliers.
3. Model Development:
- Split the dataset into training and testing sets to evaluate model performance.
- Train the ANN model on the historical stock data, adjusting hyperparameters
and architecture to optimize performance.
- Assess the model's accuracy, precision, and recall on the testing set.
- Integrate the trained ANN model into the Streamlit app for real-time stock price
predictions.
- Allow users to input the stock symbol and choose prediction horizons.
- Display relevant stock information and prediction results in the Streamlit app.
9. Deployment:
- Deploy the Streamlit web app on cloud platforms like Heroku or AWS for
accessibility to a wider audience.
- Conduct user testing to gather feedback on the app's functionality and user
experience.
4. Sachin Sampat Patil, Prof. Kailash Patidar, Asst. Prof. Megha Jain, “A Survey
on Stock Market Prediction Using SVM '', CTET 2016.