<?xml version="1.0" encoding="UTF-8"?>
<TEI xml:space="preserve" xmlns="http://www.tei-c.org/ns/1.0" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://www.tei-c.org/ns/1.0 https://raw.githubusercontent.com/kermitt2/grobid/master/grobid-home/schemas/xsd/Grobid.xsd"
 xmlns:xlink="http://www.w3.org/1999/xlink">
	<teiHeader xml:lang="en">
		<fileDesc>
			<titleStmt>
				<title level="a" type="main">The value of shares prediction in an unstable economy using neural networks</title>
			</titleStmt>
			<publicationStmt>
				<publisher/>
				<availability status="unknown"><licence/></availability>
			</publicationStmt>
			<sourceDesc>
				<biblStruct>
					<analytic>
						<author>
							<persName><forename type="first">Valentina</forename><surname>Moskalenko</surname></persName>
							<email>valentinamosk17@gmail.com</email>
							<affiliation key="aff0">
								<orgName type="institution">National Technical University &quot;Kharkiv Polytechnic Institute&quot;</orgName>
								<address>
									<addrLine>Kyrpychova str. 2</addrLine>
									<postCode>61002</postCode>
									<settlement>Kharkiv</settlement>
									<country key="UA">Ukraine</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Anastasija</forename><surname>Santalova</surname></persName>
							<email>nastia.santalova@gmail.com</email>
							<affiliation key="aff0">
								<orgName type="institution">National Technical University &quot;Kharkiv Polytechnic Institute&quot;</orgName>
								<address>
									<addrLine>Kyrpychova str. 2</addrLine>
									<postCode>61002</postCode>
									<settlement>Kharkiv</settlement>
									<country key="UA">Ukraine</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Nataliia</forename><surname>Fonta</surname></persName>
							<email>natalia.fonta@dataart.com</email>
							<affiliation key="aff1">
								<orgName type="institution">DataArt</orgName>
								<address>
									<addrLine>square Zakhysnykiv Ukrayiny 7/8</addrLine>
									<postCode>61000</postCode>
									<settlement>Kharkiv</settlement>
									<country key="UA">Ukraine</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Elena</forename><surname>Nikulina</surname></persName>
							<affiliation key="aff0">
								<orgName type="institution">National Technical University &quot;Kharkiv Polytechnic Institute&quot;</orgName>
								<address>
									<addrLine>Kyrpychova str. 2</addrLine>
									<postCode>61002</postCode>
									<settlement>Kharkiv</settlement>
									<country key="UA">Ukraine</country>
								</address>
							</affiliation>
						</author>
						<author>
							<affiliation key="aff2">
								<orgName type="department">International Conference on Computational Linguistics and Intelligent Systems</orgName>
								<address>
									<addrLine>May 12-13</addrLine>
									<postCode>2022</postCode>
									<settlement>Gliwice</settlement>
									<country key="PL">Poland</country>
								</address>
							</affiliation>
						</author>
						<title level="a" type="main">The value of shares prediction in an unstable economy using neural networks</title>
					</analytic>
					<monogr>
						<imprint>
							<date/>
						</imprint>
					</monogr>
					<idno type="MD5">E4596D8AE9A615EDE3E732B083F9A2B0</idno>
				</biblStruct>
			</sourceDesc>
		</fileDesc>
		<encodingDesc>
			<appInfo>
				<application version="0.7.2" ident="GROBID" when="2023-03-24T12:56+0000">
					<desc>GROBID - A machine learning software for extracting information from scholarly documents</desc>
					<ref target="https://github.com/kermitt2/grobid"/>
				</application>
			</appInfo>
		</encodingDesc>
		<profileDesc>
			<textClass>
				<keywords>
					<term>Forecasting, Investment, Neural network, Long-term memory, Convolutional neural network, Variational decomposition 0000-0002-9994-5404 (V. Moskalenko)</term>
					<term>0000-0002-9949-4500 (A. Santalova)</term>
					<term>0000-0001-5593-1409 (N. Fonta)</term>
					<term>0000-0003-2938-4215 (E. Nikulina)</term>
				</keywords>
			</textClass>
			<abstract>
<div xmlns="http://www.tei-c.org/ns/1.0"><p>The relevance of this research topic is due to the need to develop algorithmic provision of the market value forecasting for shares in Ukraine and the introduction of the concept for increasing information transparency of the domestic stock market. All this will help improve the investment market, provide investment and development of Ukrainian companies and the economy as a whole. An analysis of research on the use of methods for computational intelligence, including neural networks to model the behavior of stock market participants and solve the problem of forecasting. A study was conducted based on using neural networks of different architecture to predict the market value of shares in the stock markets of Ukraine, which are in the process of formation and development. The following models of neural networks were chosen for experimental research: Long short-term memory; Convolutional neural network; a hybrid model that combines two neural network architectures CNN and LSTM; a hybrid model consisting of a variational mode decomposition algorithm and a longterm memory neural network (VMD-LSTM). Four shares of the Ukrainian Stock Exchange were selected for forecasting: Tsentrenergo (CEEN); Ukrtelecom (UTLM); Kriukivs'kyi Vahonobudivnyi Zavod PAT (KVBZ); Raiff Bank Aval (BAVL). Estimates of forecast quality are calculated. It was concluded that it is advisable to use the LSTM network to forecast stocks that are on the stock exchanges of countries with unstable economies.</p></div>
			</abstract>
		</profileDesc>
	</teiHeader>
	<text xml:lang="en">
		<body>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.">Introduction</head><p>An important condition for the stable development of any national economy is the stock market. The presence of a developed stock market provides corporations with great opportunities to raise share capital and creates conditions for their further development. However, in order for the domestic stock market to be able to accumulate investors, it has:</p><p>1) comply with the principle of information transparency; 2) create conditions for compliance with corporate governance standards;</p><p>3) be predictable. The ability to predict stock market movements is one of the factors that makes stocks an attractive financial instrument for investors. Investors then begin to use stocks not only as a means of gaining control of the company, but also to manage risk, save savings and generate investment income.</p><p>The study of prospects and features of the use for methods developed in world practice for forecasting the market value of shares in countries where stock markets are in the process of formation and development, for example, in Ukraine, becomes particularly relevant.</p><p>Problems to be solved when investing financially: 1. The problem of accuracy for price forecasting is relevant for all speculators in the stock market. Its essence is that at present there is a risk of lacking accuracy on the one hand to predict using classical mathematical methods, but on the other hand the lack of new methods that allowed the rules of all factors, parameters, to create separate forecasts of financial indicators. 2. The choice of methods for forecasting the market value of shares in an unstable economy. Using forecasting research methods based on time series analysis, there is what is happening in assessing the effectiveness of complex atomic models compared to basic models, such as ARIMA or LSTM, or with very similar architectures. Extensive research has also been done in countries with stable economies. This article deals with study of the neural network using with different architecture to predict the market value of shares in the stock markets of countries that are in the process of formation and development.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">Background and Related Work 2.1. Solving investment problems using the methods of computational intelligence</head><p>Optimization methods are traditionally used to optimize the structure of the securities investment portfolio. But in the context of the large-scale task of forming an investment portfolio, such methods may not be effective, so there are many scientific publications that suggest the use computational intelligence methods, such as genetic algorithms.</p><p>The article <ref type="bibr" target="#b0">[1]</ref> conducted a study on the application of genetic algorithm to optimize the investment portfolio. Four Lithuanian companies included in the official list of the OMX Baltics stock exchange were selected to create an investment portfolio in accordance with the selected criteria. The optimal investment portfolio was built in MATLAB using a genetic algorithm. The results of the study showed that the portfolio based on genetic algorithms in 2013 achieved a better risk-return ratio than the portfolio optimized by deterministic and stochastic programming.</p><p>The modeling using the classical mathematical approach to pattern building is no longer effective, because the stock market is a complex system in which the strategies of its participants are constantly changing. Therefore, in recent years, there has been a lot of research on the use of agent modeling to study the behavior of market participants and solve other problems. Consider some publications.</p><p>In the article <ref type="bibr" target="#b1">[2]</ref>, using modeling based on agents and simple rules, a model was created that can simulate the behavior of indices in the stock market. The model took into account the impact of both investment and peripheral parties, mimicking the diversity and complex network of influences that stimulate market change. It has been found that adding appropriate agent classes to integrate other expected effects, along with improving the mechanisms that control agent behavior, can improve the model.</p><p>The article <ref type="bibr" target="#b2">[3]</ref> presents an agency model for simulating prices in financial markets both in stationary conditions and in stressful situations. The model supports different scenarios in the market.</p><p>In <ref type="bibr" target="#b3">[4]</ref> it is proposed to consider the market as the interaction of three types of agents with different investments and risk preferences. Genetic network programming is combined with the state-of-actionreward-state-of-action (SARSA) algorithm for market design based on the adaptation of technical agents. The pricing mechanism based on the auction mechanism of the Chinese securities market is taken into account. The characteristics of time series are analyzed to determine whether there is excessive volatility in four different markets.</p><p>In the article <ref type="bibr" target="#b4">[5]</ref>, a multi-agent model of the spot futures market is developed to analyze the micromechanism of shock transmission in the spot and futures markets. It is considered that there are two stocks and one futures contract for a stock index in the spot futures market. Agents are heterogeneous. The spot market and the futures market are linked by arbitrageurs. The simulation results showed that the spot futures market model can reproduce various important stylized facts, including the joint price movement between stock index prices and index futures prices.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2.">Stock forecasting models using artificial neural networks</head><p>Since the stock market depends on many factors, for the effective operation of market participants need to use different methods to predict the market value of securities. Statistical forecasting methods make it possible to obtain forecasts for more or less stable markets. But in conditions of instability or uneven growth and decline of the market, new approaches to forecasting must be used. In recent decades, prediction methods using neural networks, genetic algorithms, etc. have begun to develop very actively.</p><p>The paper <ref type="bibr" target="#b5">[6]</ref> reviews 148 researches utilizing neural and hybrid-neuro techniques to predict stock markets, categorized based on 43 auto-coded themes obtained using NVivo 12 software. Findings highlight that AI techniques can be used successfully to study and analyze stock market activity.</p><p>Consider some more of these methods.</p><p>The article <ref type="bibr" target="#b6">[7]</ref> uses an encoder-decoder attention mechanism model that adds an attention mechanism from two aspects of function and time. The encoder and decoder use an LSTM neural network. Simulation and experiment results show that the introduction of the attention mechanism can lead to smaller forecast errors.</p><p>This paper <ref type="bibr" target="#b7">[8]</ref> proposes a pattern-based stock trading system. The significance of this study is the development of a stock price prediction model that exceeds the market index using ANN-based deep learning and utilizing the results to analyze and forecast highly volatile stock price patterns.</p><p>A comprehensive big data analysis routine using hybrid machine learning algorithms was developed to predict the direction of daily returns for the SPDR S&amp;P 500 ETF (ticker: SPY). Researchers aim to apply the simplest set of algorithms to the smallest amount of data, while both the most accurate prediction results and the highest risk-adjusted returns are desirable. This problem is addressed in the study <ref type="bibr" target="#b8">[9]</ref>.</p><p>In the study <ref type="bibr" target="#b9">[10]</ref>, artificial neural network and random forest methods were used to predict the next day's closing price for five companies belonging to different sectors of activity. Financial data: The opening, high, low, and closing prices of a stock are used to create new variables that are used as input to the model.</p><p>The study <ref type="bibr" target="#b10">[11]</ref> proposes a new prediction method based on deep learning technology, which integrates traditional stock financial index variables and social media text features as inputs of the prediction model. This study uses Doc2Vec to build long text feature vectors from social media and then reduce the dimensions of the text feature vectors by stacked auto-encoder to balance the dimensions between text feature variables and stock financial index variables. Based on wavelet transform, the time series data of stock price is decomposed to eliminate the random noise caused by stock market fluctuation. this study uses long short-term memory model to predict the stock price.</p><p>Article <ref type="bibr" target="#b11">[12]</ref> uses a semi-parametric method known as accelerated regression (BRT) trees to predict stock returns and monthly volatility. The results show that the expansion of the set of conditional information leads to greater accuracy of out-of-sample forecasting compared to standard models.</p><p>Article <ref type="bibr" target="#b12">[13]</ref> predicts Microsoft stock prices using geometric Brownian motion and multilayer perceptron techniques. The prediction of stock prices using geometric Brownian motion was started by calculating the inverse of the data. Then the validity of the returned value is checked. The value of the profit should be normally distributed. Then the calculation is done to get the values of drift and volatility.</p><p>The article <ref type="bibr" target="#b13">[14]</ref> proposes a method of deep learning, based on a convolutional neural network, to predict the movement of stock prices in the Chinese stock market. The opening price, the maximum price, the minimum price, the closing price and the volume of shares received from the Internet are set as input data for building the network architecture. The result showed that using a deep learning method based on a convolutional neural network to predict stock price movements in China is quite reliable.</p><p>The method of creating market forecasting models using multi-agent and fuzzy systems is presented in <ref type="bibr" target="#b14">[15]</ref>. Agents in the system represent traders fulfilling buy and sell orders in the market, and fuzzy systems are used to model the rules followed by traders making trades in the real market, and intuitionist fuzzy logic to model the uncertainty of their decisions. Experiments have shown that the identification of specialized agents gives better results.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.3.">Review of services for forecasting the value of shares</head><p>IKnowFirst. It uses an algorithm to predict the value of shares based on artificial neural networks and genetic algorithms. Constantly retrained on data for the last 15 years, issues a set of predictions for 3, 7 and 14 days, 1 and 3 months and 1 year. The service displays the forecast trend as a number, positive or negative, along with a wave chart that predicts how the waves will overlap the trend. This helps the investor to decide in which direction to trade, at what point to enter into the transaction and when to leave. Some promotions are included in several separate modules. Thus, you can get multiple predictions based on different data sets. Each module consists of several submodules that give an independent forecast. If submodules give conflicting predictions, this should be a warning sign. Six different filters are used to refine forecasts. Focused on professionals, the site is not user-friendly, the interface and experience are not obvious, many professional terms. Also, quite inconvenient interface of the service itself, it is necessary to import into Excel, the result in the form of a table without explanation, then it is suggested to configure the parameters (risk, signal and predictability). It is not possible to select specific companies; the selected ones are displayed outside the forecasts. There is no Ukrainianization of the site and service interface. The service works on the principle of subscription for individual blocks of shares, there are no shares of Ukrainian companies.</p><p>FinBrain. The algorithm is based on ensembles of decision trees used to analyze numerical and textual data that affect the dynamics of stock prices. FinBrain offers stock price forecasts for 10 days and 12 months ahead for more than 10,000 assets that are updated daily. The list includes assets listed in S &amp; P500, NASDAQ, NYSE, Crypto Currencies, Foreign Currencies, DOW30, ETFs, Commodities, UK FTSE 100, Germany DAX, Canada TSX, HK Hang Seng, Australia ASX, Tadawul TA. This service also works on a subscription system for forecasting individual set of shares. The site does not have a Ukrainian-language interface, there are no shares of Ukrainian companies available for forecasting. The user interface and experience are better than in the previous case. The site has a personal account where it is possible to track forecasts and analyze charts, there is a separate tab for selected assets.</p><p>Danel Capital. Danel Capital offers a forecast based on artificial intelligence and data that reflects the likelihood that stocks will outperform the market in the medium term (90 market days). Gives own rating from 1 to 10 for assets, general, fundamental, technical and semantic. Quote from the site: "The range of Smart Score ratings is from 1 to 10". Shares with Smart Score 1 have the least opportunity to bypass the market. On the contrary, stocks with a Smart Score rating of 10 have the greatest opportunity to bypass the market. The benchmark for US listed stocks is the S&amp;P 500 and for European stocks the STOXX 600.Sstocks with 9 or 10 Smart Score should be considered as attractive stocks to add to portfolio, and stocks with a rating of 1 or 2 Smart Score -stocks to be avoided in the medium term. Smart Score is calculated using artificial intelligence algorithms (crucial tree ensembles) that analyze more than 10,000 fundamental, technical and mood indicators daily. There is no Ukrainian-language interface or shares Ukrainian companies. So far, only a professional tariff plan is available on the site, which includes all available for forecasting promotions. In the near future, the creators of the service plan to introduce several more tariff options.</p><p>StocksNeural. Here the user can receive signals to buy / sell based on forecasts of stock prices and current prices. It is possible to receive notifications when you should start trading on the stock exchange. The service algorithm uses recurrent neural networks (RNN) and convolutional neural networks (CNN). Models are regularly replenished. The daily pipeline for models includes the steps required to download and pre-process new market data, calculate model accuracy and performance indicators, and make trading recommendations according to the forecast and strategy parameters. On the site there is an opportunity to make a paid subscription and get access to the service.</p><p>Based on the analysis of existing services for forecasting stock prices, it can be concluded that the proposals differ in the final type of forecasts and interface, but all options have a similar set of disadvantages:</p><p>• no Ukrainianization of the interface; • limited set of stocks available for forecasting; • high entry threshold (lack of clear user manual); • all services are available only with a paid subscription (high cost);</p><p>• there is no possibility of forecasts aggregation, which complicates the integration into the daily work of the investor-user of the service. Telegram bots and channels would be more user-friendly, but at the moment they provide either investment ideas and subjective opinions, or track current performance.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">Designing the architecture of the neural network to predict the market value of shares</head><p>The following neural networks were selected for experimental studies: 1. A network having a fully connected network structure with four layers; the architecture combines two layers of the Long short-term memory (LSTM) class with two layers of the Dense class. This architecture is relatively simple and is a good start for solving time series problems. The Dense class and the LSTM class from the Keras Deep Learning Library are used to define this structure. As a rule, the number of neurons in the first layers should cover the size of the input data. Input contains values for 50 dates. Thus, the input form must have at least 50 neurons -one for each value. In the last layer we will have only one neuron, which means that the forecast will contain one price point for one time step as the basic, most common neural network. 2. Convolutional neural network (CNN), the architecture of which is described in the article by Chen and He <ref type="bibr" target="#b13">[14]</ref>, which justifies the maximum efficiency of such a configuration as an example of a fundamentally different neural network architecture. However, in a study <ref type="bibr" target="#b13">[14]</ref>, the neural network is used to solve classification problems. The proposed architecture was adapted to perform regression by replacing the Softmax layer with a fully connected layer consisting of a single neuron. All convolutions are two-dimensional, the size of the cores is 3x3, the number of filters for the first three convolution layers is 32, 64 and 128, respectively, the rest are 256. The size of the core of the pulp is 2x2.</p><p>3. CNN-LSTM is a hybrid model that combines two different neural network architectures. The architecture proposed by Wu and others <ref type="bibr" target="#b15">[16]</ref> was chosen because it has proven effectiveness. The number of neurons in the LSTM and the fully connected layer is not specified, so it is implemented based on the values for previous models -256. 4. VMD-LSTM is a hybrid model consisting of a classical machine learning algorithm and a neural network. The combination of variational mode decomposition (VMD) and LSTM is implemented on the basis of the article <ref type="bibr" target="#b16">[17]</ref>. The parameters for the LSTM module are not specified in the article, so the implementation proposed in this paper coincides with the simple LSTM.</p><p>To compare the forecast quality of different models, four shares of the Ukrainian stock market were selected:</p><p>• Tsentrenergo (CEEN);</p><p>• Ukrtelecom (UTLM);</p><p>• Kriukivs'kyi Vahonobudivnyi Zavod PAT (KVBZ);</p><p>• Raiff Bank Aval (BAVL).</p><p>The development was carried out in the Python programming language version 3.8 using the libraries InvestPy, Pandas, NumPy, Scikit-learn, Keras, Matplotlib and VmdPy.</p><p>InvestPy is a Python package for extracting financial historical data. It is designed to download historical data from Investing so that it can be retrieved through Python for future reference. Pandas is a Python software library for data processing and analysis. Pandas data manipulation is built on top of the NumPy library, which is a lower-level tool. Provides special data structures and operations for manipulating numerical tables and time series. Scikit-learn is one of the most widely used Python packages for Data Science and Machine Learning. It contains functions and algorithms for machine learning: classification, prediction, and grouping of data. Keras is an open-source library written in Python that provides interaction with artificial neural networks. It is an add-on for the TensorFlow framework. This library contains numerous implementations of commonly used building blocks of neural networks such as layers, objective and transfer functions, optimizers, and many tools to simplify working with images and text. Matplotlib is a Python programming language library for visualizing data with two-dimensional (2D) graphics (3D graphics are also supported). Vmdpy Is a function for decomposing a signal according to the Variational Mode Decomposition method.</p><p>The training of all models took place over 100 epochs (the same number for all models is necessary for the possibility of adequate comparative analysis of their quality), because the error of each model has time to reach the plateau. To improve the quality of forecasting, many articles on this topic propose preliminary normalization of data in the range [0,1], which is also implemented in this study. When choosing an architecture, metrics are designed for normalized data, in other cases for output.</p><p>Choosing the right number of layers from the beginning is difficult or even impossible. The usual approach is to try different architectures and find out which one works best by trial and error. Then the architecture and performance of the model are tested and improved in a few iterations.</p><p>The market price of a stock can changes very rapidly. That is why "fresh" data are needed for more accurate forecasting. In this study, this was achieved by importing and downloading prices from the API. The invest library was used for this purpose. Due to this library, prices for the period from 01.01.2010 to the current date (12.02.2022) were obtained. Figure <ref type="figure" target="#fig_0">1</ref> shows the results obtained for the CEEN share.  In order to be able to test the models, the data set must be divided into two parts: 80% -data for training, and 20% -test data. To improve the work with the data, it was normalized with MinMaxScaler in the range from 0 to 1. Next, training data has been created, based on which the neural network should be trained. To do this, several slices of training data (x_train), the so-called mini-packages, were formed. In the learning process, the neural network sequentially processes the mini-packets and creates a separate forecast for each mini-package.</p><p>Neural networks learn in several iterations. The prediction error is reduced by regulating the strength of the connection between neurons (weight) according to a certain algorithm. The model needs a second list (y_train) to assess the quality of the forecast, which contains the actual price values. During training, the model compares forecasts with real data and calculates learning error to minimize it over time.</p><p>In order to comprehensively assess the forecast quality of each model, the following metrics will be calculated:</p><p>• MAE (Median Absolute Error) is a measure of errors between paired observations that express the same phenomenon; • MAPE (Mean Absolute Percentage Error); • MDAPE (Median Absolute Percentage Error). MDAPE and MAPE are error rates used to evaluate machine learning regression models. The difference is that MDAPE returns the median value of all errors, while MAPE returns the average. MAPE is more sensitive to emissions than MDAPE. Also, in these figures, the results of calculations of estimates for errors of forecasts of MAE, MAPE, MDAPE are given. In Figures <ref type="figure" target="#fig_12">3 -18</ref>, the predicted value of the shares is marked in orange, and the difference between the predicted value and the real value is highlighted in gray.    <ref type="figure" target="#fig_5">-6</ref> show that the LSTM network does not always accurately predict the price of shares, this is especially noticeable in the UTLM stock (Figure <ref type="figure">4</ref>). Forecast data for UTLM and KVBZ indicates that it is impossible to apply this method in case of sharp and significant market fluctuations.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.">Results of experiments and analysis</head><p>Therefore, this neural network is not advisable to be used for the Ukrainian stock market.</p><p>In the second stage of the study, the CNN network was trained and forecasts for the months of 2022 for the market value of shares were obtained: CEEN -   As it can be observed the CNN network also showed not very good results, in Figure <ref type="figure">8</ref> it can be seen a big difference between the gray and orange zone (real and predicted data). CNN network has the same as LSTM weak side: in the case of sharp jumps both down and up, the forecast error increases greatly.</p><p>In the third stage of the study, the CNN-LSTM hybrid model network was trained and forecasts for the months of 2022 for the market value of shares were obtained: CEEN -Figure <ref type="figure" target="#fig_9">11</ref>; UTLM -Figure <ref type="figure" target="#fig_1">12</ref>; KVBZ -Figure <ref type="figure" target="#fig_0">13</ref>; BAVL -Figure <ref type="figure" target="#fig_0">14</ref>.</p><p>The hybrid network CNN-LSTM proved to be worse than CNN and LSTM separately. Significant forecast error exists even in the absence of sharp changes in the share price. MARE from 9.7 to 17.4 indicates the impossibility of using in real life and the high probability of financial losses due to a false forecast.    </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.">Conclusion and Future Work</head><p>Research of prospects and peculiarities of using the methods of forecasting the market value of shares developed in world practice in Ukraine, where stock markets are in the process of formation and development.</p><p>The analysis of scientific sources based on the results of research on modeling the behavior of stock market participants and solving the problem of forecasting using artificial neural networks are carried out.</p><p>The research was conducted on the use of neural networks of different architectures to forecast the market value of shares on the stock exchange of Ukraine. The following models of neural networks were chosen for experimental research: LSTM; CNN; a hybrid model that combines two neural network architectures CNN and LSTM; a hybrid model consisting of a classical machine learning algorithm and a neural network (VMD-LSTM). It was concluded that it is advisable to use an artificial neural network LSTM to predict selected stocks.</p><p>The task of predicting the market value of shares on the stock exchange of Ukraine is solved for planning the investment activity of a company in the strategic period <ref type="bibr" target="#b17">[18]</ref>. Investment activity is considered from the point of view of the direction for company development <ref type="bibr" target="#b18">[19]</ref>.</p><p>The future research will focus on: 1. To continue research on the choice of neural network architecture for forecasting the market value of shares on the Ukrainian stock market.</p><p>2. Develop a software system for forecasting the market value of shares, which allowed the investor to forecast the value of shares and form investment portfolios.</p></div><figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_0"><head>Figure 1 :</head><label>1</label><figDesc>Figure 1: Historical data on the CEEN market price</figDesc><graphic coords="6,151.68,273.81,291.65,123.75" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_1"><head>Figure 2 :</head><label>2</label><figDesc>Figure 2: Historical data on the market price of CEEN</figDesc><graphic coords="6,78.50,449.68,438.00,156.00" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_2"><head></head><label></label><figDesc>At the first stage of the research, the LSTM network was trained and forecasts for the months of 2022 for the market value of shares available on the Ukrainian Stock Exchange were obtained: CEEN -Figure 3; UTLM -Figure 4; KVBZ -Figure 5; BAVL -Figure 6.</figDesc></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_3"><head>Figure 3 :Figure 4 :</head><label>34</label><figDesc>Figure 3: Forecasts of the market value of CEEN shares and assessments of the quality of the forecast on the LSTM network</figDesc><graphic coords="7,162.50,459.84,269.55,50.25" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_4"><head>Figure 5 :</head><label>5</label><figDesc>Figure 5: KVBZ stock market value forecasts and LSTM forecast quality assessments</figDesc><graphic coords="8,172.25,261.00,250.50,54.75" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_5"><head>Figure 6 :</head><label>6</label><figDesc>Figure 6: BAVL stock market value forecasts and LSTM forecast quality assessments</figDesc><graphic coords="8,80.75,342.58,432.75,183.75" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_6"><head>Figure 7 ;</head><label>7</label><figDesc> show that the LSTM network does not always accurately predict the price of shares, this is especially noticeable in the UTLM stock (Figure4). Forecast data for UTLM and KVBZ indicates that it is impossible to apply this method in case of sharp and significant market fluctuations.Therefore, this neural network is not advisable to be used for the Ukrainian stock market.In the second stage of the study, the CNN network was trained and forecasts for the months of 2022 for the market value of shares were obtained: CEEN -Figure 7; UTLM -Figure 8; KVBZ -Figure 9; BAVL -Figure 10.</figDesc><graphic coords="8,175.18,527.08,244.65,56.25" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_7"><head>Figure 7 :Figure 8 :Figure 9 :</head><label>789</label><figDesc>Figure 7: Forecasts of the market value for CEEN shares and estimates the quality of the forecast on the CNN network</figDesc><graphic coords="9,80.58,318.50,433.85,137.99" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_8"><head>Figure 10 :</head><label>10</label><figDesc>Figure 10: BAVL stock market value forecasts and CNN forecast quality assessments</figDesc><graphic coords="10,186.50,241.50,221.85,52.50" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_9"><head>Figure 11 :</head><label>11</label><figDesc>Figure 11: CEEN stock market value forecasts and CNN-LSTM hybrid forecast network quality assessments</figDesc><graphic coords="10,174.50,676.31,245.75,50.25" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_10"><head>Figure 12 :Figure 13 :Figure 14 :</head><label>121314</label><figDesc>Figure 12: UTLM stock market value forecasts and CNN-LSTM hybrid forecast network quality estimates</figDesc><graphic coords="11,77.38,302.75,440.11,142.45" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_11"><head>Figure 15 :Figure 16 :Figure 17 :</head><label>151617</label><figDesc>Figure 15: Forecast of market value of CEEN shares and assessment of forecast quality on the VMD-LSTM hybrid model network</figDesc><graphic coords="12,77.75,346.60,438.75,133.90" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_12"><head>Figure 18 :</head><label>18</label><figDesc>Figure 18: BAVL stock market value forecasts and forecast quality assessments over the VMD-LSTM hybrid network</figDesc><graphic coords="13,171.50,243.00,251.61,50.80" type="bitmap" /></figure>
		</body>
		<back>
			<div type="references">

				<listBibl>

<biblStruct xml:id="b0">
	<analytic>
		<title level="a" type="main">Investment Portfolio Optimization By Applying A Genetic Algorithm-Based Approach</title>
		<author>
			<persName><forename type="first">P</forename><surname>Dubinskas</surname></persName>
		</author>
		<author>
			<persName><forename type="first">L</forename><surname>Urbšienė</surname></persName>
		</author>
		<idno type="DOI">10.15388/Ekon.2017.2.10998</idno>
	</analytic>
	<monogr>
		<title level="j">Ekonomika</title>
		<imprint>
			<biblScope unit="volume">96</biblScope>
			<biblScope unit="issue">2</biblScope>
			<biblScope unit="page">66</biblScope>
			<date type="published" when="2017">2017</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b1">
	<analytic>
		<title level="a" type="main">An Agent-Based Approach to Artificial Stock Market Modeling</title>
		<author>
			<persName><forename type="first">S</forename><surname>Vanfossana</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Cihan</forename><forename type="middle">H</forename><surname>Daglia</surname></persName>
		</author>
		<author>
			<persName><forename type="first">B</forename><surname>Kwasa</surname></persName>
		</author>
		<idno type="DOI">10.1016/j.procs.2020.02.280</idno>
		<ptr target="https://doi.org/10.1016/j.procs.2020.02.280.doi:10.1016/j.procs.2020.02.280" />
	</analytic>
	<monogr>
		<title level="j">Citation Data Procedia Computer Science</title>
		<imprint>
			<biblScope unit="volume">168</biblScope>
			<biblScope unit="page" from="161" to="169" />
			<date type="published" when="2020">2020</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b2">
	<analytic>
		<title level="a" type="main">Financial Market Data Simulation Using Deep Intelligence Agents</title>
		<author>
			<persName><forename type="first">N</forename><surname>Raman</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><forename type="middle">L</forename><surname>Leidner</surname></persName>
		</author>
		<idno type="DOI">10.1007/978-3-030</idno>
		<idno>doi:10.1007/978-3-030-24209-1_17</idno>
		<ptr target="https://doi.org/10.1007/978-3-030" />
	</analytic>
	<monogr>
		<title level="m">Advances in Practical Applications of Survivable Agents and Multi-Agent Systems: The PAAMS Collection. PAAMS 2019</title>
		<title level="s">Lecture Notes in Computer Science</title>
		<editor>
			<persName><forename type="first">Y</forename><surname>Demazeau</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">E</forename><surname>Matson</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">J</forename><surname>Corchado</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">F</forename><surname>De La Prieta</surname></persName>
		</editor>
		<meeting><address><addrLine>Cham</addrLine></address></meeting>
		<imprint>
			<publisher>Springer</publisher>
			<date type="published" when="2019">2019</date>
			<biblScope unit="volume">11523</biblScope>
			<biblScope unit="page" from="200" to="211" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b3">
	<analytic>
		<title level="a" type="main">Multi-agent modeling and simulation of a stock market</title>
		<author>
			<persName><forename type="first">M</forename><forename type="middle">A</forename><surname>Souissi</surname></persName>
		</author>
		<author>
			<persName><forename type="first">K</forename><surname>Bensaid</surname></persName>
		</author>
		<author>
			<persName><forename type="first">R</forename><surname>Ellaia</surname></persName>
		</author>
		<idno type="DOI">10.21511/imfi.15(4).2018.10</idno>
		<idno>doi:</idno>
		<ptr target="10.21511/imfi.15(4).2018.10" />
	</analytic>
	<monogr>
		<title level="j">Investment Management and Financial Innovations</title>
		<imprint>
			<biblScope unit="volume">15</biblScope>
			<biblScope unit="page" from="123" to="134" />
			<date type="published" when="2018">2018</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b4">
	<analytic>
		<title level="a" type="main">Shock Transfer in Futures and Spot Markets: An Agent-Based Simulation Modelling Method</title>
		<author>
			<persName><forename type="first">X</forename><surname>Zhou</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Li</surname></persName>
		</author>
		<idno type="DOI">10.1155/2021/7386169</idno>
	</analytic>
	<monogr>
		<title level="j">Discrete Dynamics in Nature and Society</title>
		<imprint>
			<biblScope unit="volume">2021</biblScope>
			<date type="published" when="2021">2021</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b5">
	<analytic>
		<title level="a" type="main">Application of Artificial Intelligence in Stock Market Forecasting: A Critique</title>
		<author>
			<persName><forename type="first">R</forename><surname>Chopra</surname></persName>
		</author>
		<author>
			<persName><forename type="first">G</forename><forename type="middle">D</forename><surname>Sharma</surname></persName>
		</author>
		<idno type="DOI">10.3390/jrfm14110526(2021</idno>
		<idno>doi:</idno>
		<ptr target="10.3390/jrfm14110526" />
	</analytic>
	<monogr>
		<title level="j">Journal of Risk and Financial Management</title>
		<imprint>
			<biblScope unit="volume">14</biblScope>
			<biblScope unit="issue">11</biblScope>
			<biblScope unit="page">526</biblScope>
			<date type="published" when="2021">2021</date>
		</imprint>
	</monogr>
	<note>Review, and Research Agenda</note>
</biblStruct>

<biblStruct xml:id="b6">
	<analytic>
		<title level="a" type="main">A Stock Trend Forecast Algorithm Based on Deep Neural Networks</title>
		<author>
			<persName><forename type="first">Y</forename><surname>Yan</surname></persName>
		</author>
		<author>
			<persName><forename type="first">D</forename><surname>Yang</surname></persName>
		</author>
		<idno type="DOI">10.1155/2021/7510641</idno>
		<ptr target="https://doi.org/10.1155/2021/7510641.doi:10.1155/2021/7510641" />
	</analytic>
	<monogr>
		<title level="j">Wireless Communications and Mobile Computing</title>
		<imprint>
			<biblScope unit="volume">7</biblScope>
			<biblScope unit="page" from="1" to="10" />
			<date type="published" when="2021">2021</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b7">
	<analytic>
		<title level="a" type="main">Development of a stock trading system based on a neural network using highly volatile stock price patterns</title>
		<author>
			<persName><forename type="first">J</forename><surname>Oh</surname></persName>
		</author>
		<idno type="DOI">10.7717/peerj-cs.915</idno>
		<ptr target="https://doi.org/10.7717/peerj-cs.915.doi:10.7717/peerj-cs.915" />
	</analytic>
	<monogr>
		<title level="j">Peer J Computer Science</title>
		<imprint>
			<biblScope unit="volume">8</biblScope>
			<biblScope unit="page">e915</biblScope>
			<date type="published" when="2022">2022</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b8">
	<analytic>
		<title level="a" type="main">Predicting the daily return direction of the stock market using hybrid machine learning algorithms</title>
		<author>
			<persName><forename type="first">X</forename><surname>Zhong</surname></persName>
		</author>
		<author>
			<persName><forename type="first">D</forename><surname>Enke</surname></persName>
		</author>
		<idno type="DOI">10.1186/s40854-019-0138-0</idno>
		<ptr target="https://doi.org/10.1186/s40854-019-0138-0.doi:10.1186/s40854-019-0138-0" />
	</analytic>
	<monogr>
		<title level="j">Financ Innov</title>
		<imprint>
			<biblScope unit="volume">5</biblScope>
			<date type="published" when="2019">2019</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b9">
	<analytic>
		<title level="a" type="main">Stock Closing Price Prediction using Machine Learning Techniquesues</title>
		<author>
			<persName><forename type="first">M</forename><surname>Vijha</surname></persName>
		</author>
		<author>
			<persName><forename type="first">D</forename><surname>Chandolab</surname></persName>
		</author>
		<author>
			<persName><forename type="first">V</forename><forename type="middle">A</forename><surname>Tikkiwalb</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><surname>Kumarc</surname></persName>
		</author>
		<idno type="DOI">10.1016/j.procs.2020.03.326</idno>
		<ptr target="https://doi.org/10.1016/j.procs.2020.03.326" />
	</analytic>
	<monogr>
		<title level="j">Procedia Computer Science</title>
		<imprint>
			<biblScope unit="volume">167</biblScope>
			<biblScope unit="page" from="599" to="606" />
			<date type="published" when="2020">2020</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b10">
	<analytic>
		<title level="a" type="main">A stock price prediction method based on deep learning technology</title>
		<author>
			<persName><forename type="first">X</forename><surname>Ji</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><surname>Wang</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Z</forename><surname>Yan</surname></persName>
		</author>
		<idno type="DOI">10.1108/IJCS-05-2020-0012</idno>
		<ptr target="https://doi.org/10.1108/IJCS-05-2020-0012.doi:10.1108/IJCS-05-2020-0012" />
	</analytic>
	<monogr>
		<title level="j">International Journal of Crowd Science</title>
		<imprint>
			<biblScope unit="volume">5</biblScope>
			<biblScope unit="issue">1</biblScope>
			<biblScope unit="page" from="55" to="72" />
			<date type="published" when="2021">2021</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b11">
	<monogr>
		<title level="m" type="main">Predicting Stock Market Returns with Machine Learning</title>
		<author>
			<persName><forename type="first">A</forename><forename type="middle">G</forename><surname>Rossi</surname></persName>
		</author>
		<ptr target="https://neptune.ai/blog/predicting-stock-prices-using-machine-learning" />
		<imprint>
			<date type="published" when="2022">2022</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b12">
	<analytic>
		<title level="a" type="main">Comparison of Stock Price Prediction Using Geometric Brownian Motion and Multilayer Perceptron</title>
		<author>
			<persName><forename type="first">M</forename><surname>Azizah</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><forename type="middle">I</forename><surname>Irawan</surname></persName>
		</author>
		<author>
			<persName><forename type="first">E</forename><forename type="middle">R M</forename><surname>Putri</surname></persName>
		</author>
		<idno type="DOI">10.1063/5.0008066</idno>
		<ptr target="https://doi.org/10.1063/5.0008066.doi:10.1063/5.0008066" />
	</analytic>
	<monogr>
		<title level="m">Proceedings of the 5th International Symposium on Current Progress in Mathematics and Sciences (ISCPMS2019); AIP Conference Proceedings</title>
				<meeting>the 5th International Symposium on Current Progress in Mathematics and Sciences (ISCPMS2019); AIP Conference Proceedings</meeting>
		<imprint>
			<date type="published" when="2021">2021</date>
			<biblScope unit="volume">2321</biblScope>
			<biblScope unit="page">30018</biblScope>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b13">
	<analytic>
		<title level="a" type="main">Stock prediction using convolutional neural network</title>
		<author>
			<persName><forename type="first">S</forename><surname>Chen</surname></persName>
		</author>
		<author>
			<persName><forename type="first">H</forename><surname>He</surname></persName>
		</author>
		<idno type="DOI">10.1088/1757-899X/435/1/012026</idno>
	</analytic>
	<monogr>
		<title level="j">IOP Conference series: materials science and engineering</title>
		<imprint>
			<biblScope unit="volume">435</biblScope>
			<biblScope unit="page">12026</biblScope>
			<date type="published" when="2018">2018</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b14">
	<analytic>
		<title level="a" type="main">Using Fuzzy Inference Systems for the Creation of Forex Market Predictive Models</title>
		<author>
			<persName><forename type="first">H-Á</forename><surname>Amaury</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>García-Valdez</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><forename type="middle">J</forename><surname>Merelo-Guervós</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Castañón-Puga</surname></persName>
		</author>
		<author>
			<persName><forename type="first">O</forename><forename type="middle">C</forename><surname>López</surname></persName>
		</author>
		<idno type="DOI">10.1109/ACCESS.2021.3077910</idno>
	</analytic>
	<monogr>
		<title level="j">IEEE Access</title>
		<imprint>
			<biblScope unit="volume">9</biblScope>
			<biblScope unit="page" from="69391" to="69404" />
			<date type="published" when="2021">2021</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b15">
	<analytic>
		<title level="a" type="main">A graph-based CNN-LSTM stock price prediction algorithm with leading indicators</title>
		<author>
			<persName><forename type="first">J</forename><forename type="middle">M T</forename><surname>Wu</surname></persName>
		</author>
		<idno type="DOI">10.1007/s00530-021-00758-w</idno>
		<ptr target="https://doi.org/10.1007/s00530-021-00758-w.doi:10.1007/s00530-021-00758-w" />
	</analytic>
	<monogr>
		<title level="j">Multimedia Systems</title>
		<imprint>
			<biblScope unit="page" from="1" to="20" />
			<date type="published" when="2021">2021</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b16">
	<analytic>
		<title level="a" type="main">A hybrid stock price index forecasting model based on variational mode decomposition and LSTM network</title>
		<author>
			<persName><forename type="first">H</forename><surname>Niu</surname></persName>
		</author>
		<author>
			<persName><forename type="first">K</forename><surname>Xu</surname></persName>
		</author>
		<author>
			<persName><forename type="first">W</forename><surname>Wang</surname></persName>
		</author>
		<idno type="DOI">10.1007/s10489-020-01814-0</idno>
		<ptr target="https://doi.org/10.1007/s10489-020-01814-0.doi:10.1007/s10489-020-01814-0" />
	</analytic>
	<monogr>
		<title level="j">Applied Intelligence</title>
		<imprint>
			<biblScope unit="volume">50</biblScope>
			<biblScope unit="page" from="4296" to="4309" />
			<date type="published" when="2020">2020</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b17">
	<analytic>
		<title level="a" type="main">Information Technology for the Decision-Making Process in an Investment Company</title>
		<author>
			<persName><forename type="first">T</forename><surname>Zakharova</surname></persName>
		</author>
		<author>
			<persName><forename type="first">V</forename><surname>Moskalenko</surname></persName>
		</author>
		<idno type="DOI">10.1007/978-3-642-38370-0_4</idno>
	</analytic>
	<monogr>
		<title level="j">Lecture Notes in Business Information Processing</title>
		<imprint>
			<biblScope unit="volume">137</biblScope>
			<biblScope unit="page" from="37" to="48" />
			<date type="published" when="2013">2013</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b18">
	<analytic>
		<title level="a" type="main">Technology of formation of development program as a system of company&apos;s annual plans based on key performance indicators</title>
		<author>
			<persName><forename type="first">V</forename><forename type="middle">V</forename><surname>Moskalenko</surname></persName>
		</author>
		<author>
			<persName><forename type="first">T</forename><forename type="middle">V</forename><surname>Zakharova</surname></persName>
		</author>
		<author>
			<persName><forename type="first">N</forename><forename type="middle">G</forename><surname>Fonta</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">European cooperation Scientific Approaches and Applied Technologies</title>
		<imprint>
			<biblScope unit="volume">2</biblScope>
			<biblScope unit="issue">2</biblScope>
			<biblScope unit="page" from="108" to="124" />
			<date type="published" when="2015">2015</date>
		</imprint>
	</monogr>
</biblStruct>

				</listBibl>
			</div>
		</back>
	</text>
</TEI>
