Updated
Updated
Acknowledgements
I am grateful to him/her for his timely feedback which helped me track and schedule
the process effectively. His/her time, ideas and encouragement that he gave is help
me to complete my project efficiently.
At last we must express our sincere heartfelt gratitude to all the staff members of
Computer Engineering Department who helped me directly or indirectly during this
course of work.
ir.aiktclibrary.org
IR@AIKTC-KRRC
ABSTRACT
We analyse existing and new methods of stock market prediction. We take three
different approaches at the problem: Fundamental analysis, Technical Analysis, and
the application of Machine Learning. We find evidence in support of the weak form
of the Efficient Market Hypothesis, that the historic price does not contain useful
information but out of sample data may be predictive. We show that Fundamental
Analysis and Machine Learning could be used to guide an investor’s decisions. We
demonstrate a common flaw in Technical Analysis methodology and show that it
produces limited useful information.
In the finance world stock trading is one of the most important activities. Stock
market predic-tion is an act of trying to determine the future value of a stock other
financial instrument tradedon a financial exchange.The technical and fundamental
or the time series analysis is used bythe most of the stockbrokers while making the
stock predictions. The programming languageis used to predict the stock market us-
ing machine learning is Python. In our project we proposea Machine Learning (ML)
approach that will be trained from the available stocks data and gainintelligence and
then uses the acquired knowledge for an accurate prediction. In this contextstudy
uses a machine learning technique called Support Vector Machine (SVM) or Long
ShortTerm-Memory (LSTM) to predict stock prices.
Keywords: Mechine Learning, Data Mining, Training set, Training Data, Au-
tomated System, pattern Recognition, Deep learning, Knowledgeextraction, Data
preprocess- ing, knowledge extraction, Web mod-ule,Artificial Intelligence.
ir.aiktclibrary.org
IR@AIKTC-KRRC
STOCK PREDICTION USING MACHINE LEARNING
Chapter 4
1. Overall Description
1. Product Perspective
The stock market is basically an aggregation of various buyers and sellers of
stock. A stock (also known as shares more commonly) in general represents
ownership claims on business by a particular individual or a group of people. The
attempt to determine the future value of the stock market is known as a stock market
prediction. The prediction is expected to be robust, accurate and efficient. The
system will be working according to the real-life scenarios and should be well
suited to real-world settings. The system is also expected to take into account all the
variables that might affect the stock’s value and performance. There are various
methods and ways of implementing the prediction system like Fundamental
Analysis, Technical Analysis, Machine Learning, Market Mimicry, and Time series
aspect structuring. With the advancement of the digital era, the prediction has
moved up into the technological realm. The most prominent and promising
technique involves the use of Artificial Neural Networks, Recurrent Neural
Networks, that is basically the implementation of machine learning.slope of linear
model applied on tick data of the respective hour, which gives an idea about the
trend during the last hour
f. slope of linear model applied on tick data of the respective hour, which gives an
idea about the trend during the last hour
4. Operating Environment
a. Jupyter Notebook
b. Python 3.0
c. LSTM
d. Pandas
e. Datasets
1. System Feature
Using the text data to get converted into graph form to easily identify the predicted
stock of a company.
Stimulus/Response Sequences
Functional Requirements
2. User Interfaces
User Interface Design focuses on anticipating what users might need to do and en-
suring that the interface has elements that are easy to access, understand, and use to
facilitate those actions.
3. Hardware Interfaces
Depending on executing the system our hardware should be well maintained and
able to execute the program in a well upgraded hardware.
3. Nonfunctional Requirements
1. Performance Requirements
Performance of overall system is very efficient and well optimize. From the time
taken to capture and process it everything is well organized.While processing the
stock price it will take time depending on the hardware we will be executing this on.
2. Safety Requirements
This system does not contain any critical data. Still it provide. The databases that
are accessed are locally executed.In case of any updates in libraries used can lead to
the failure in systems.
3. Security Requirements
All the libraries used are certified and standard. As it is a demo based
program .After that is released.
Chapter 5
System Design
1. Functional requirements
They define the basic functions that the system must provide and focus on the needs
and goals of the end users.
Use-case Diagram
Data-flow Diagram