<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Assistive Technology in Stock Market Decision Making</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Radu Adrian Ciora</string-name>
          <email>radu.ciora@ulbsibiu.ro</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Marius Cioca</string-name>
          <email>marius.cioca@ulbsibiu.ro</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Carmen Mihaela Simion</string-name>
          <email>carmen.simion@ulbsibiu.ro</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Lucian Blaga University of Sibiu</institution>
          ,
          <addr-line>Sibiu</addr-line>
          ,
          <country country="RO">Romania</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Stock markets are probably the most dynamic business field. Fast information processing is necessary for proper asset management. Thus, a machine assistive technology would be a very important asset for stock traders. In this context, we come up with the idea of an information processing solution based on semantic that would give stockbrokers a recommendation tool, which gives them suggestions for when and what to buy and sell. The system that we called STOMADESUS - STOck MArket Decision Support System is based on fast information retrieval and processing from news feeds. The processed information interpretation is the biggest challenge as it is the key for the proper recommendation of the broker's actions.</p>
      </abstract>
      <kwd-group>
        <kwd>information processing</kwd>
        <kwd>semantics</kwd>
        <kwd>stock markets</kwd>
        <kwd>business intelligence</kwd>
        <kwd>ontologies</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>The Financial stock market and industry are information-focused domains. Thus, the
information is the most important aspect in decision making of financial stakeholders.
The information that these stakeholders require for a good decision is spread throughout
internet. In order to process this information, it first needs to be harvested.</p>
      <p>The study of stock market evolution is a topic with high volatility nowadays.
Choosing the right information sources is also important.</p>
      <p>If we look at stock market prices evolution in time, we see a very complex price
variation, no matter the timeframe taken into account. This happens because of the
technological advances in information technology and communications industries, both
playing key roles in the stock markets’ high volatility. If we watch any of the stock
exchange markets, we see almost every second modifications both in the bids but also
in the asked prices, to various traded products. This is the consequence of using
information technology in the stock exchange markets, which delivers information almost
instantly around the globe [1].</p>
      <p>Until now, the tools that the traders had at hand were based on applications that
analyse price behaviour from past price recordings. There is no such solution that takes
into account the news feeds. Previous solutions are usually based on recorded stocks’
prices, and predictions are based price evolution in time.</p>
      <p>In this paper, we propose a novel way to improve stock decision-making process.
Thus, with the aid of ontologies and news feeds we created a decision support system</p>
    </sec>
    <sec id="sec-2">
      <title>Related Work</title>
      <p>capable of providing the trader real-time valuable information about future stock
market evolution.</p>
      <p>Sentiment analysis from financial news has been described in several papers in the literature. In
[2] an algorithm for feature extraction from financial news is proposed. Their solution is based
on a methodology, which involves a classifier that annotates financial news with positive or
negative markers, based on ontology. The annotated information is than passed to a semantic
analyser. The results are a set of news grouped by their degree of positivism or negativism. The
system was tested with 900 financial news and it offered an 87% aggregate mean accuracy.</p>
      <p>Semantic information annotation is presented by [3]. In their approach, they processed
Reuters financial news feeds. They manually annotated the collected headlines into various
categories. Afterwards, they defined an ontology with four major categories: social, economic, financial
and environmental. Then they refined the main categories into subclasses. For example,
economics has subclass stock market, currency, investment and so on. After they identified the concepts,
their focus shifted in defining the attributes that characterize these concepts. The attributes
consisted of the name of the company referred in the news, the date of extraction and the category
the news belongs to. The system was tested on 227 headlines, and returned 136 reliable results.
One of the major drawbacks of these approaches is the manual categorization of the news and so
some headlines that can belong to more than one category are omitted.</p>
      <p>A stock market ontology is described in [4]. It is part of a larger financial ontology created
for an e-banking application. It allows user to realize complex operations in stock exchange
market using a natural language processing features. The stock market ontology has several layers of
abstraction. At the top level, it comprises of services, products, channels, users and currencies,
which are further refined into subclasses and in the leaves, there are entities and attributes that
characterize these entities. The ontology was implemented in WSML using wsmostudio.</p>
      <p>All the presented papers present good information processing techniques, which have
strengths and weaknesses. However, they have different usage capabilities and perform
differently.</p>
      <p>The analysis of work in this domain, has taken us to a set of essential characteristics that an
information processing application should posses:
• It should accept information from multiple sources
• It should be able to filter the information received
• It should have a labelling system;
• It should provide dynamic ontology extensibility
• It should make predictions dynamically.</p>
      <p>What distinguish our approach from the existing work in the literature is a dynamic ontology
extensibility and also the live predictions.</p>
    </sec>
    <sec id="sec-3">
      <title>3. Problem Definition</title>
      <p>In order to be a good trader, one needs to be informed. Apart from basic training, the trader needs
to stay updated about what happens in the market. Thus, news websites such as Google Finance
and Yahoo Finance come in handy for this task. Other influential websites are Wall Street Journal
and Bloomberg. Nowadays investors ought to read and process a lot of information that is
essential for making correct judgments and acquire profitable assets.</p>
      <p>As soon as a company makes its initial public offering, its shares become available for trading
on the stock market. There are many stock markets throughout the world, which are linked
together electronically. This results in more liquid and more efficient markets.</p>
      <p>The prices of share in a stock market can be set in various way but the most common is
through a bidding process. A bid represents the price at which a trader is willing to buy assets.
An offer represents the price at which another trader is willing to sell his assets. When the two
values become equal, a transaction takes place.</p>
      <p>What drives the fluctuations of shares in the stock market? The person that holds the answer
to this key question is a winner, because he should be able to know when it is the best time to buy
or to sell certain assets.</p>
      <p>Stock prices change very often even several times a minute as the result of market trends. By
this we mean that share prices change because of variations of supply and demand. If people are
interested in buying an asset at a given moment – it is called high demand, then selling it – which
is called a surplus in supply, then the price moves up. The reciprocity property is also valid: if
people are more inclined to sell a stock than buy it, there would be greater supply than demand,
and the price would go down. Therefore, for any trade to actually happen there needs to be exactly
one buyer and one seller – so the number of buyers and sellers is technically equal. What we
mean here is the number of motivated buyers or sellers, for example those that are willing to buy
for higher or sell for lower.</p>
      <p>The price of a stock represents the “value” of the corporation. However, what does a
company’s value represent? A company has assets and it sells products. The assets it has – buildings,
hardware, patents, cash in bank accounts, etc. – represent its register value, or the price a company
would get if they sold all this stuff at once. Nevertheless, companies are primarily in business of
trying to make a profit, and therefore they earn cash by selling products or services, so the total
value of a company has to do with the stuff it owns now and the cash flows it will receive in the
future. The value of the stuff it owns now is straightforward to determine, but the value of the
future cash flow is not a trivial task and there is no key solution to it – and it is this piece that is
responsible for market gyrations.</p>
      <p>In general, financial stock markets are influenced by two kinds of events: programmed ones
and unforeseen ones. Programmed events refer to financial reports that are presented on a regular
basis, central bank interest rates and reports, companies’ trimestral reports. Unforeseen events
refer to anything that cannot be predicted or that happens spontaneously like for example natural
calamities or disasters.</p>
      <p>In addition to individual stocks, many investors are concerned with stock indices (also called
indexes). Indices represent aggregated prices of a number of different stocks, and the movement
of an index is the net effect of the movements of each individual component. When people talk
about the stock market, they often are actually referring to one of the major indices such as
the Dow Jones Industrial Average (DJIA) or the S&amp;P 500.</p>
      <p>The DJIA is a price-weighted index of 30 large American corporations. Because of its
weighting scheme and that it only consists of 30 stocks – when there are many thousand to choose
from – it is not really a good indicator of how the stock market is doing. The S&amp;P 500 is a market
cap-weighted index of the 500 largest companies in the U.S., and is a much more valid indicator.
Indices can be broad such as the Dow Jones or S&amp;P 500, or they can be specific to a certain
industry or market sector.</p>
      <p>There are many competing theories that try to explain the way stock prices move the way
they do. Unfortunately, there is no one theory that can explain everything, but news are of crucial
importance when it comes to stock market fluctuation.</p>
      <p>The information sources that this news come from are also of great importance. As news
authors, we can have public institutions, or privately held companies, as well as individuals which
are domain experts. The market can be affected by hype about a certain company or mare
specifically about its products or services. Companies as well as their shareholders are the most
interested in promoting their owned assets, by presenting positive financial reports, glamourous
newsletters, blogs, press releases and news reports, tools that can create high expectations in the
market, which obviously translates into a raise of the stock prices. This can happen even if the hype
has no foundation in reality. Investors do not wait to check if the news is true or false, instead
they follow the reaction of the crowd to the hype and invest accordingly. The hype can be started
by well-known personalities like Warren Buffett, Bill Gross or Peter Lynch and as of their
wellknown success in the field; they can sometimes affect the movement of markets by simply
suggesting that developments might occur.</p>
      <p>After having identified the proper information sources, the next thing that needs to be
analysed is the subject itself – the company whose shares are of interest. The main aspects that need
to be taken into account are presented below.</p>
      <p>The management of a company is a very sensitive aspect that definitely affects the shares
prices. Changes in the management – in either the board of directors or the main shareholders of
the company affect the shares prices, either in a positive but can also affect them in a negative
way, depending how the large public perceives the changes.</p>
      <p>The products of the company are also important assets that affect the shares’ price of an
organization. Whether there is news about launches of new products, or test results of existing ones
– all these pieces of information form a puzzle that in the end affect the company’s shares price.</p>
      <p>Information presented in the news about the organization’s financial health, either through
term reports or reports written by independent financial analysts also translate into the assets
prices.</p>
      <p>The geographical exposure of a company has also a significant impact in the shares prices,
because there is more general news that affect geographical areas, for example about natural
disasters or conflict zones.</p>
      <p>As a conclusion, any news or information that links to a certain organization might influence
either in a positive way or in a negative way that particular organisation’s shares’ price. Thus,
information cannot be treated alone, as a single piece of information. The solution for processing
all these pieces of information that can be found into a grid-based decision support system [5].</p>
    </sec>
    <sec id="sec-4">
      <title>4. Methodology</title>
      <p>By analysing the existing literature, we come up with the idea of using natural language
processing, statistics and semantic web features in order to infer the useful information that is present
in news [6].</p>
      <p>In order to successfully identify the meaning of this information ontology was developed.
The reason why an ontology was chosen is because an ontology allows us to infer knowledge by
interrogating it, but also it allows for software flexibility, as new pieces of information can be
added dynamically into the ontology without the need for software recompilation.</p>
      <p>News feeds harvesting is not a trivial task. As presented in the work of [7], the term entropy
comes as relevant measure of a given text, both at character level but also at word level. Thus,
the bigger the entropy of a text, the more complex the text is and it contains more information.</p>
      <p>In this paper, we do not take into account the complexity of words, but rather only the
semantics. This can be achieved by using hierarchical concepts like those depicted in WordNet or the
multiple meanings of a word as suggest by [8].</p>
      <p>In the previous section, we described the aspects of a company that need to be taken into
account when evaluating its assets. Now if we look at the actual news that give us the information
about these companies, there are certain intrinsic aspect of the news that are of great interest and
these are: type, subject, age and impact. With regard to the source of the news, one should be
interested int the source rank, but also credibility.</p>
      <p>The quantitative interpretation of economic and financial has been used as a mean of
demonstrating the predictivity of financial markets. The impact of news should be studied in terms of
volatility and trade volume implications [9].</p>
      <p>Firstly, information needs to be filtered and categorised. In order to achieve this, we created
an ontology called STOck Market ONTology (STOMAONT). The main classes of STOMAONT
are those depicted in Figure1.</p>
      <p>Geolocation</p>
      <p>News
Company</p>
      <p>Thing</p>
      <p>Indexes (DJIA,</p>
      <p>S&amp;P500 )
Products and</p>
      <p>Services
Shares’ Price
Fig 1. STOMAONT Ontology</p>
      <p>Apart from these classes, there are several attributes that these classes possess, which are
particular for the objects stored in the ontology. The semantics of the stock market domain is
expressed by the properties stored within the ontology. We used the ontology to map the
semantics of the news and thus enabling our application to work at human conceptual level. The
ontology provides the common vocabulary that is needed for proper information extraction.</p>
      <p>The mapping of the news information into the ontology is achieved by the aid of a text parser
that also categorizes the information into positive or negative information. Then the information
is timestamped and fed into the ontology. There are a number of features that are clear markers
for negative information about a company or an organisation. These include works like shortfall,
negative and investigation. On the other hand, words like forthcoming, positive and investment
definitely are part of positive news.</p>
      <p>As an example, let us take the following statement: “Apple sales increase as of launch of
iPhone X.” Morphological analysis of the sentence results in the following: the subject is Apple
Inc.; the predicate is increase; the complements are sales and iPhone X. As this sentence is broken
down into these pieces of information, a positive news can be inferred and stored into the
ontology.</p>
      <p>Moreover, this ontology helps us infer more information from news feeds, by making
correlations among them. It contains a vocabulary and a set of rules that allows the ontology to be
queried in real time, using SPARQL. The SPARQL queries are triggered based on predefined
events and have as parameters names of organisations or companies that are subject of
investment. What the ontology needs to infer is it is geolocation and the news that affect it, directly or
indirectly. The queries return results about the opportunity of investing in a certain company. In
case of non-existing information, alternative solutions may be suggested.</p>
    </sec>
    <sec id="sec-5">
      <title>5. Conclusions and Perspectives</title>
      <p>What our system tries to do is to put in information into context. It does this with the aid of
geotagging and geolocation, both for the news it parses but also for the company of interest.</p>
      <p>We believe that this research comes a possible answer to just-in-time information processing
and on the spot trade recommendations regarding current assets, based on existing information
on the market, thus proving brokers with a consultative tool in the trading process. The system is
capable of instantly adjusting its recommendations dynamically whenever it finds relevant news
related to the investigated field.</p>
      <p>As future work, we aim to improve its functionality by extending our ontology concepts with
new attributes and classes. In addition, we are interested to provide recommendations for buying
new assets, similar to those already acquired and provide viable alternatives for those, which
prove less productive.</p>
      <p>Another direction of future investigations is to take into account not only the companies local
context, but also regional one, maybe also continental one and why not the global context.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          <string-name>
            <surname>Schwert</surname>
            ,
            <given-names>W.G.</given-names>
          </string-name>
          :
          <article-title>Stock Market Volatility</article-title>
          ,
          <source>Financial Analysts Journal</source>
          , pp.
          <fpage>23</fpage>
          -
          <lpage>34</lpage>
          , CFA Institute, https://doi.org/10.2469/faj.v46.
          <year>n3</year>
          .
          <volume>23</volume>
          (
          <year>1990</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          <string-name>
            <surname>Ruiz-Martínez</surname>
            ,
            <given-names>J.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Valencia-García</surname>
          </string-name>
          , Rafael,
          <string-name>
            <surname>García-Sánchez</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Semantic-Based Sentiment analysis in financial news</article-title>
          ,
          <source>Proceedings of the 1st International Workshop on Finance and Economics on the Semantic Web</source>
          (
          <year>2012</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          <string-name>
            <surname>Mellouli</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bouslama</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Akande</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>An ontology for representing financial headline news</article-title>
          ,
          <source>Web Semantics: Science, Services and Agents on the World Wide Web</source>
          , Volume
          <volume>8</volume>
          ,
          <string-name>
            <surname>Issue</surname>
            <given-names>2</given-names>
          </string-name>
          ,
          <year>2010</year>
          , pp.
          <fpage>203</fpage>
          -
          <lpage>208</lpage>
          , ISSN 1570-8268, http://dx.doi.org/10.1016/j.websem.
          <year>2010</year>
          .
          <volume>02</volume>
          .001 (
          <year>2010</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          <string-name>
            <surname>Alonso</surname>
            ,
            <given-names>L. S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bas</surname>
            ,
            <given-names>L. J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bellido</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Contreras</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Benjamins</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gomez</surname>
            ,
            <given-names>M. J.</given-names>
          </string-name>
          :
          <source>WP10: case study eBanking D10</source>
          .
          <article-title>7 financial ontology. Data, information and process integration with semantic web services ((</article-title>
          <year>2005</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          <string-name>
            <surname>Buraga</surname>
            ,
            <given-names>S.C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cioca</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cioca</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Grid-based decision support system used in disaster management</article-title>
          ,
          <source>Studies in Informatics and Control-SIC</source>
          ,
          <volume>16</volume>
          (
          <issue>3</issue>
          ), pp.
          <fpage>283</fpage>
          -
          <lpage>296</lpage>
          (
          <year>2007</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          <string-name>
            <surname>Cioca</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ghete</surname>
            ,
            <given-names>A.-I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cioca</surname>
            ,
            <given-names>L.-I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gîfu</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          <article-title>: Machine learning and creative methods used to classify customers in a CRM system</article-title>
          ,
          <source>Applied Mechanics and Materials</source>
          ,
          <volume>371</volume>
          , pp.
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          <string-name>
            <surname>Gîfu</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          : Semantic Particularities of Journalistic Text, at the 3rd International Conference Literature, Discourse and Multicultural Dialogue, section: Communication, Public Relations, Journalism, LDMD-
          <year>2015</year>
          ,
          <fpage>3</fpage>
          -
          <lpage>4</lpage>
          Dec.
          <year>2015</year>
          ,
          <article-title>"Petru Maior" University of Târgu-Mureș.</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          <source>In: Proceedings of the International Conference Literature, Discourse and Multicultural Dialogue, I. Boldea (coord.)</source>
          , vol.
          <volume>3</volume>
          ,
          <string-name>
            <surname>Arhipelag</surname>
            <given-names>XXI</given-names>
          </string-name>
          Press, pp.
          <fpage>182</fpage>
          -
          <lpage>196</lpage>
          (
          <year>2015</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          <string-name>
            <surname>Gîfu</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          : Lexical Semantics in Text Processing.
          <source>Contrastive Diachronic Studies on Romanian Language</source>
          ,
          <source>PhD thesis</source>
          , “Alexandru Ioan Cuza” University of Iași, Romania (
          <year>2016</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          <string-name>
            <surname>Vázsonyi</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Overview of quantitative news interpretation methods applied in financial market predictions</article-title>
          ,
          <source>Periodica Polytechnica: Social and Management Sciences</source>
          , Volume
          <volume>17</volume>
          /1, pp.
          <fpage>17</fpage>
          -
          <lpage>29</lpage>
          (
          <year>2009</year>
          ).
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>