Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

Chatbot for Access to Stock Market Information

SANTOSH S
M.Tech CNE Dr. B S SHYLAJA
Dr.AIT College Professor
Bangalore, Karnataka Dept. of ISE
shrisanthosh95@gmail.com Dr.AIT
Bangalore, Karnataka

Abstract— This paper describes the usage of chatbot apps auditory or textual methods. Such programs are often
and demonstrates about stock monitor chatbot. Currently, designed to convincingly simulate how a human would
there are many virtual assistants such as google assistant and behave as a conversational partner, thereby passing the
Amazon Alexa, via messaging apps such as Facebook Turing test. Chatbots are typically used in dialog systems for
Messenger or WeChat, or via individual organizations' apps
various practical purposes including customer service or
and websites. In Contrast, we propose the use case of chatbot
apps and their fundamental usage in real-time with help of information acquisition. Some chatbots use sophisticated
artificial intelligence. This paper describes about the software natural language processing systems, but many simpler ones
that analyzes previous stock data of certain companies, with scan for keywords within the input, then pull a reply with
help of certain parameters that affect stock value. This will also the most matching keywords, or the most similar wording
help us to determine the values that particular stock will have pattern, from a database.
in near future. This will ensure the Month’s High and Low
with help of data mining algorithms. Stock Market Analysis of The term "ChatterBot" was originally coined by Michael
stocks using data mining will be useful for new investors to Mauldin (creator of the first Verbot, Julia) in 1994 to
invest in the stock market based on the various factors
describe these conversational programs. Today, most
considered by the software. The stock market includes daily
activities like Sensex calculation, exchange of shares. The chatbots are accessed via virtual assistants such as Google
exchange provides an efficient and transparent market for Assistant and Amazon Alexa, via messaging apps such as
trading in equity, debt instruments, and derivatives. Facebook Messenger or WeChat, or via individual
organizations' apps and websites. Chatbots can be classified
Keywords— Artificial Intelligence, Chatbot, Stock Monitor into usage categories such as conversational commerce (e-
Chatbot commerce via chat), analytics, communication, customer
support, design, developer tools, education, entertainment,
I. INTRODUCTION finance, food, games, health, HR, marketing, news,
In the field of computer science, artificial personal, productivity, shopping, social, sports, travel and
intelligence (AI), sometimes called machine utilities.[2]
intelligence, is intelligence demonstrated by III. CHATBOT SECTION
machines, in contrast to the natural intelligence A. Messaging apps
displayed by humans and other animals. Many companies' chatbots run on messaging apps like
Computer science defines AI research as the study Facebook Messenger (since 2016), WeChat (since 2013),
of "intelligent agents": any device that perceives WhatsApp, LiveChat, Kik, Slack, Line, Telegram, or simply
via SMS. They are used for B2C customer service, sales and
its environment and takes actions that maximize marketing.[3]
its chance of successfully achieving its goals. In 2016, Facebook Messenger allowed developers to place
More specifically, Kaplan and Haenlein define AI chatbots on their platform. There were 30,000 bots created
as “a system’s ability to correctly interpret for Messenger in the first six months, rising to 100,000 by
external data, to learn from such data, and to use September 2017.
Since September 2017, this has also been as part of a pilot
those learnings to achieve specific goals and tasks program on WhatsApp. Airlines KLM and Aeroméxico both
through flexible adaptation”. Colloquially, the announced their participation in the testing; both airlines had
term "artificial intelligence" is applied when a previously launched customer services on the Facebook
machine mimics "cognitive" functions that Messenger platform.The bots usually appear as one of the
humans associate with other human minds, such user's contacts, but can sometimes act as participants in a
group chat.
as "learning" and "problem solving".[1] Many banks, insurers, media companies, e-commerce
companies, airlines, hotel chains, retailers, health care
II. CHATBOT providers, government entities and restaurant chains have
used chatbots to answer simple questions, increase customer
A chatbot (also known as a smartbot, talkbot, chatterbot,
engagement, for promotion, and to offer additional ways to
Bot, IM bot, interactive agent, conversational interface or
order from them.
artificial conversational entity) is a computer program or an
artificial intelligence which conducts a conversation via

XXX-X-XXXX-XXXX-X/XX/$XX.00 ©20XX IEEE


A 2017 study showed 4% of companies used chatbots. primarily meant for computing such as toys. Hello Barbie is
According to a 2016 study, 80% of businesses said they an Internet-connected version of the doll that uses a chatbot
intended to have one by 2020. provided by the company ToyTalk, which previously used
the chatbot for a range of smartphone-based characters for
children. These characters' behaviors are constrained by a
set of rules that in effect emulate a particular character and
produce a storyline.

IBM's Watson computer has been used as the basis for


chatbot-based educational toys for companies such as
CogniToys intended to interact with children for educational
purposes.

D. Chatbots in Medicine and for Mental Health


According to the Journal of Medical Internet Research,
"Chatbots are [...] increasingly used in particular for mental
health applications, prevention and behavior change
applications (such as smoking cessation or physical activity
interventions)". They have been shown to serve as a cost-
effective and accessible therapeutic agents for indications
such as depression and anxiety. A conversational agent
Fig 1. Aeromexico airline chatbot running on Facebook called Woebot has been shown to significantly reduce
Messenger, March 2018[3] depression in young adults.[3]

1. As part of company apps and websites


Previous generations of chatbots were present on
company websites, e.g. Ask Jenn from Alaska Airlines IV. Stock Monitor Chatbot
which debuted in 2008 or Expedia's virtual customer service
agent which launched in 2011. The newer generation of A. OBJECTIVE
chatbots includes IBM Watson-powered "Rocky",
introduced in February 2017 by the New York City-based e- In Stock bot, We concentrate with user related to their
commerce company Rare Carat to provide information to queries like what is the particular time to invest? etc., in
prospective diamond buyers. order to monitor the current stock trends, we give them
suggestions based on their vision and thoughts we improve
B. Company internal platforms their shares and give more details of what type of shares
Other companies explore ways they can use chatbots they want to start and we also suggest customers in order to
internally, for example for Customer Support, Human maintain their shares, We suggest do you require any
Resources, or even in Internet-of-Things (IoT) projects. personal advisor to monitor their shares and many more
Overstock.com, for one, has reportedly launched a chatbot with related to stock monitor related work. It also works for
named Mila to automate certain simple yet time-consuming 24/7.
processes when requesting for a sick leave. Other large
companies such as Lloyds Banking Group, Royal Bank of B. SCOPE
Scotland, Renault and Citroën are now using automated
online assistants instead of call centres with humans to Stock Market Analysis of stocks using data mining will be
provide a first point of contact. A SaaS chatbot business useful for new investors to invest in the stock market based
ecosystem has been steadily growing since the F8 on the various factors considered by the software.
Conference when Facebook's Mark Zuckerberg unveiled The stock market includes daily activities like Sensex
that Messenger would allow chatbots into the app. In large calculation, exchange of shares. The exchange provides an
companies, like in hospitals and aviation organizations, IT efficient and transparent market for trading in equity, debt
architects are designing reference architectures for instruments, and derivatives.[5]
Intelligent Chatbots that are used to unlock and share
knowledge and experience in the organization more Our software will be analyzing Sensex based on the
efficiently, and reduce the errors in answers from expert company's stock value. The stock values of the company
service desks significantly. These Intelligent Chatbots make depend on some of the following factors:
use of all kinds of artificial intelligence like image
moderation and natural language understanding (NLU), 1. Dollar value: The fluctuations in the dollar value day by
natural language generation (NLG), machine learning and day will be playing a crucial part in the stock values of
deep learning. companies (basically I.T based companies) The impact of
dollar values will be different for different companies.
C. Toys
Chatbots have also been incorporated into devices not 2. Corporate results: This will be regarding the profits or
progress of the company over a span of time say 3 months.
Identify applicable funding agency here. If none, delete this text box.
3. Inflation: The overall rise in the price of all the products D. FUNCTIONAL REQUIREMENTS
which affects purchasing power.
With the help of chatterbot, we implement the chatbot to our
The stock value depends on other factors as well, but we are requirement. Chatbots also called as virtual agents and
taking into consideration only these particular factors. cognitive agents within Stocks market, AI helps to improve
Stock Bot can be integrated into popular social media operational efficiency and creating new stock investors to
networking sites or particular organization which is working start their shares in stock by augmenting human intelligence.
stock markets and demat account holders. It will save the Chatbots are low cost and low-risk entry point for
conversational time between demat account companies seeking to employ AI in Stock Monitoring
holder(customer) and stockbroker. It will enhance the process through prebuilt routines, data models and training.
company work in a simple manner, and help them to
concentrate on other tasks. We can add it for banking
application with added some security feature. 1. User Interface: The user is required to select which
company is he interested in amongst the various companies
C. FEATURES that have been provided.
2. Visual Studio 2010 to Stock Database connectivity: As
• Add or Remove any company and view Multiple graphs • communication with the user is performed in C#.net and
Upload data without manual feeding by uploading data from data required for processing is in a Database, a connectivity
nseindia.com • View Daily, Weekly, Monthly Stock charts has to be implemented between the Database and Asp.Net
for Technical Stock Analysis • View Daily, Weekly, application
Monthly Technical Graphs • Help and Theory regarding
various Technicals in software • User Defined input and 3. Database to DB miner connectivity: Pattern Analysis of
shortlisting as per Moving Average Curve • Shortlisting of the data in the database has to be performed using various
stocks according to various Technical indicators. mining tools provided by Db minor. Hence a connectivity
between the two is required.
• This are the only site selling the Fully Licensed versions of
the Technical Analysis software StocktechTM. Following some functional parameters, we can go for
building chatbot.
A. Analyzing stock data.
1. User Interface is done through a test based or a
By performing the operation we have obtained stock data combination of GUI and text.
from some companies that affect the Sensex. The data is 2. Interpretation is done through NLP and AI.
from 2nd January 2006 to September 2007. The data has a 3. The data collected will save all over conversational
date as well as the value of the company's stock at the end of details in the .yml file.
the trading session of that date. 4. An action is being carried out having workflow created
B. Analyzing the factors. by user input can vary depending on input.
5. Integration is done through having layered on top of
Based on the results we have to obtain the data in the existing tech stack with defined interfaces.
same period for the following factors. 6. Client interface can integrate with chat application.

E. LIMITATIONS
1. Dollar value: We will obtain the variation of dollar value
as compared to the rupee.
Requires an active internet connection, May generate
2. Corporate results: Companies declare their performance inaccurate results if data inputted incorrectly
results and profit at the end of each quarter.
3. Inflation: From financial experts, we can obtain an 1. In all the approaches which we discussed in this report,
inflation rate over a period of time. we assumed, whenever we want to make a trade, we are able
to find someone who is willing to make that trade with us
Based on the results we have to analyze the variations in the and we get the shares which we are looking for. This is not
stock value of the companies with respect to these factors true in real time trading. To understand in more detail about
using some data mining algorithms. We will also verify our the behaviour of our approaches, we need to test these
results with the results obtained by “DB miner” software. models against real-time data.[15]
ChatBOT interface all stock market-related queries and
automating used cases conversation between stocks market 2. For comparison, we have chosen stocks from various
and user, knowledge base search, which improves speed and sectors. However, the behaviour of these indicators may
accuracy. Integrate into social networking site. Multi- vary with other members of the sectors from which we
channel interaction.[14] chose the stocks.
Security feature: Bots to verify users via registration
procedure, then OTP is sent through registered Email-Id 3. Based on the results, we have considered data only from
before taking any related process. the Indian stock market. The behaviour of these models may
A technology used: NLP, AI automation tool. differ if we consider stocks from other countries. The reason
behind this limitation is due to the emotions associated with [2] From Wikipedia, the free encyclopedia:
the investors. Chatbot[Online]. Available:
https://en.wikipedia.org/wiki/Chatbot
4. These indicators may fail to predict any trend if there is [3] From Wikipedia, the free encyclopedia: Chatbot
not a considerable amount of fluctuation in the stock market. Section[Online]. Available:
This situation happens if all investors are waiting for https://en.wikipedia.org/wiki/Chatbot
limitation is due to the emotions associated with the [4]parulnith/Building-a-Simple-Chatbot-in-Python-using-
investors. 4. These indicators may fail to predict any trend if NLTK[Online]. Available:
there is not a considerable amount of fluctuation in the stock https://github.com/parulnith/Building-a-Simple-Chatbot-in-
market. This situation happens if all investors are waiting Python-using-NLTK/blob/master/chatbot.txt
for some type of results from that particular company, to [5] Artificial Conversational Entity (ACE)
invest. Wikipedia[Online]. Available:
http://en.wikibedia.ru/wiki/Artificial_Conversational_Entity
5. In this paper, we have analyzed static data. In real time _(ACE)
stock market, the prices change every millisecond. Hence, [6] Chatbot - Howling Pixel[Online]. Available:
the decision made at current instant may not be valid at next https://howlingpixel.com/i-en/Chatbot
instant since the trend has changed due to previous trade. [7] Chatbot • Wikipedia[Online]. Available:
This problem can be solved only after analyzing the http://wikipedia.moesalih.com/Chatbot
algorithm with real-time data.[16] [8] Stock Market Analysis and Prediction Project[Online].
Available: https://nevonprojects.com/stock-market-analyzer/
6. In this paper we have relied on data from the year 1994 to [9] Stock Market Analysis And Prediction - Premium
2012 for all stocks which we analyzed. When new data is Project Topics and...[Online]. Available:
fed into the model its accuracy may vary. https://www.writtenproject.com/stock-market-analysis-and-
prediction/
F. RISKS
[10] Stock Market Prediction[Online]. Available:
Helps the users in detecting the market trend patterns and
http://ijsrd.com/articles/NCTAAP077.pdf
other conditions.
The report contains a number of filter elements [11] Ajay Kedia[Online]. Available:
ranging as per the market trends that help the users to http://www.ajaykedia.com/
analyze the registered stocks
[12] Ajay Kedia - Teaching Assistant - University of
The report contains a number of shares, their prices, and
Volume Breakouts Colorado... | LinkedIn[Online]: Available:
https://www.linkedin.com/in/ajay-kedia-01b7015a
It contains stocks that have an unanticipated rise in the
business volume and a rapid rate escalation in terms of cost. [13] Biržos - Portalas investuotojams[Online]. Available:
Normally, Stock Chat bots keep stock market at low risk https://www.traders.lt/list.php?c=l_exch
based on shares the customers/users start, the conversation [14] Project of on Line Trading | Market Maker | Securities
which is very common like queries related company rules (Finance)[Online]. Available:
and policies, for user related queries. Keeping some of the https://www.scribd.com/document/14868528/Project-of-on-
confidential conversations in a secure environment is a high Line-Trading
risk feature. [15] Derivative on India Infoline -Ramesh | Futures Contract
| Derivative...[Online]. Available:
REFERENCES https://www.scribd.com/document/29345293/Derivative-on-
India-Infoline-Ramesh
[1] From Wikipedia, the free encyclopedia: Artificial [16]Loss Prevention in Stock Market[Online]. Available:
Intelligence[Online]. Available: https://nevonprojects.com/loss-prevention-in-stock-market/
https://en.wikipedia.org/wiki/Artificial_intelligence

You might also like