<!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>Building an Optimal Investment Portfolio with Python Machine Learning Tools</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Vitaliy Kobets</string-name>
          <email>vkobets@kse.org.ua</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Serhii Savchenko</string-name>
          <email>savchenko.serhii@gmail.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Investment Portfolio, Automated Financial Software</institution>
          ,
          <addr-line>Robo-Advisor, Machine Learning</addr-line>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Kherson State University</institution>
          ,
          <addr-line>27 Universitetska St., Kherson 73003</addr-line>
          ,
          <country country="UA">Ukraine</country>
        </aff>
      </contrib-group>
      <fpage>307</fpage>
      <lpage>315</lpage>
      <abstract>
        <p>We have researched how machine-learning techniques can be applied in software tools for personal investment portfolio planning. This paper contains a brief overview of different types of machine learning algorithms and a description of the mathematical model used to build the optimal investment portfolio. The newly demanded and not implemented feature of Fintech software tools for personal investments (such as Robo-Advisor) is to forecast rates of financial instruments to quickly rebalance the structure of investment portfolio to increase potential income and decrease losses of investors. The price forecasting methods proposed in the paper can be used for this feature. During the experimental part of our research, we implemented a software tool that builds an optimal investment portfolio using price predictions created by LSTM neural network and linear regression method. The results were compared to a portfolio built using only historical data on financial instruments price. The research shows that using LSTM neural network forecasted values allows building better investment portfolios even during the global stock market recession.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        Modern methods of machine learning are actively used in many areas of human activity. The most
common use cases are optical character recognition, classification and clustering, time series
forecasting, etc. Machine learning (ML) systems and artificial intelligence (AI) destroy routine jobs and
create new human jobs. These jobs require new skills that have no analogues. Among these jobs are
trainers, explainers and sustainers [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. Trainers need to teach service chatbots how they should perform
using ML need to detect the complexities of human communication and emotions to address client
query with sympathy. Explainers can fill the gap between innovation technologists and business leaders.
Decision making which is based only on “black box” nature of complex machine-learning algorithms
can contradict to conventional wisdom, because EU’s General Data Protection Regulation creates a
“right to explanation” for investor. Sustainers can help ensure that AI and ML systems operate as
designed and that unintended consequences (such as unfairness, disauditability, discrimination etc.) are
considered with the appropriate urgency [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. All machine learning algorithms can be divided into three
major categories: supervised, unsupervised, and reinforcement learning. Table 1 contains a brief
comparison of different types of machine learning algorithms [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ].
      </p>
      <p>
        This paper is devoted to a review of the possibilities of using supervised machine learning techniques
for the task of building an optimal investment portfolio for long-run investments of a client. This task
is one of the features of software tools that help people to manage their personalized investment and
insurance portfolios. Such software tools are called Robo-Advisors (RA). In one of our previous works
[
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] we have already developed software architecture and different modules of RA system. The practical
outcome of this paper is the implementation of profitability forecasting and investment portfolio
formation modules of RA system.
      </p>
      <p>2022 Copyright for this paper by its authors.</p>
      <p>The purpose of this paper is to develop and implement a software tool for building an optimal
investment portfolio using machine-learning techniques for time series of financial instruments’
profitability predictions.</p>
      <p>Research objectives include the examination of which machine learning techniques can be applied
to financial instruments' price prediction and profitability analysis of a portfolio built using only
historical data with portfolios built taking into account price predictions.</p>
      <p>The paper is structured as follows: Part 2 addresses the literature review. Part 3 describes the
theoretical model behind the optimal investment portfolio generation and the experimental part of the
research. Part 4 presents obtained results. Finally, the last part concludes.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Literature Review</title>
      <p>
        Prediction of risk issues can be done using both classical machine learning (ML) and deep learning
(DL) techniques such as random forest, convolutional neural networks (CNNs) and long short-term
memory (LSTM). Although deep learning models (DL) are good prediction systems, it must be
confirmed whether in this field they behave better than other machine learning (ML) techniques.
Classical Python libraries like pandas is used for this pre-processing of food security data [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. Using
probabilistic predictions as an advantage of neural models can optimize the number of inspections. The
accuracy results of the neural models versus the average accuracy of the non-neural models shows a
clear advantage of neural models [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. Authors [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] proposed such measures of quality estimation as root
mean square error and mean absolute percentage error associated to the ML models.
      </p>
      <p>
        Other authors [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] who applied ML as well as traditional econometric methods found that overall
prediction accuracy ranges between 60% and 70% for their selected ML and non-ML methods. They
found that the ML and non-ML methods perform quite similarly in predicting overall accuracy, where
non-ML method consists of either OLS or logistic regression. Which methods are likely to work best
will depend on the pool of available predictor sets as well as the complexity of the functional forms
linking predictors to outcomes [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. Authors of investigation [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] reveal poor performance associated with
the LSTM and disclosure that the CNN is also complicated because of its black box effect, which makes
it also unsuitable for the use. Based on studied online resources, we can define next types of software
tools that can be helpful for novice investors [
        <xref ref-type="bibr" rid="ref8 ref9">8, 9</xref>
        ]:
 Financial calendars
 Currency converters
 Trading calculators (Fibonacci calculator, pivot point calculator, etc.)
 Trading tools (real-time charts, historical datasets, indicators, indexes)
 Personal finance tools (budgeting, mortgage calculators, tax tools)
      </p>
      <p>Robo-Advisors</p>
      <p>
        Robo-Advisors are complex software tools, usually presented as web applications, which provide
all types of services for personal investments [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]. The common features that persist in Robo-Advisor
system include a questionnaire module to determine the type of client, personalized investment portfolio
formation, portfolio rebalancing, access to an information dashboard, and additional tools.
      </p>
      <p>Linear regression (LR) is a classical machine learning technique that is used for modeling the
correspondence between some dependent variable and one or more explanatory (independent)
variables. Linear regression also shows which explanatory variables have more impact on the dependent
variable value. It could be useful in case if we have a lot of input data and we want to reduce the number
of inputs. We also used Long Short Term Memory (LSTM) neural network for predicting future price
of different financial instruments. LSTM neural network is a kind of Recurrent Neural Network (RNN)
that has special memory neurons, therefore they can store, filter and pass long-run dependencies from
one layer to another. Such feature of LSTM neural networks makes them especially good in time series
forecasting (e.g., return rates and standard deviations or risks of financial instruments).</p>
      <p>
        Currently, using LSTM neural networks to predict prices for stocks, currency pairs, and other
financial instruments is being actively studied. The study by A. Staffini [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] describes the way of using
deep learning approaches for stock price forecasting. The paper is devoted to using Convolutional
Generative Adversarial Network (GAN) for predicting stock time series. GAN is a deep learning
approach, that consists of a generator model and discriminator model, and LSTM network could be
used as GAN generator which generated predictions which then discriminator model evaluates. Another
study [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] describes the method for predicting stock market index based on such inputs as historical
data, macroeconomic data (Civilian Unemployment Rate, Consumer Sentiment Index, and US dollar
index), and technical analysis indicators (Moving Average Convergence Divergence, Average True
Range, Relative Strength Index).
      </p>
      <p>
        Application of machine learning algorithms to predict return and risk metrics of financial instrument
and corresponding development of backend development of web applications requires powerful
programming language. Python is an open source general purpose programming language. According
to the TIOBE Programming Community index, Python is the most popular programming language [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ].
It has many third-party libraries, including those designed for machine learning and data analysis.
Python supports almost all most popular machine learning frameworks, such as TensorFlow, Keras,
MXNet, Theano, etc. [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ]. Since Python is also suits for the backend development of web applications,
the integration of machine learning modules will not cause difficulties.
      </p>
    </sec>
    <sec id="sec-3">
      <title>3. Research Methodology 3.1.</title>
    </sec>
    <sec id="sec-4">
      <title>Model</title>
      <p>
        We used the Markowitz portfolio model for generating optimal investment portfolio. Markowitz
portfolio model is a mathematical framework that solves the optimization problem of assembling a
portfolio where expected return is maximized for a given level of risk (1) or when the level of risk is
minimized for a given level of expected return (2) [
        <xref ref-type="bibr" rid="ref15 ref16 ref17">15-17</xref>
        ].
      </p>
      <p>{
{
  → 
  ≤</p>
      <p>≥ 0
  ≥  
  →</p>
      <p>≥ 0
 1 +  2 + ⋯ +   = 1
 1 +  2 + ⋯ +   = 1
a target function which minimizes the ratio of risk to profit (3).
where N is a number of assets,   is an expected return of the portfolio,   is a level of risk (standard
deviation), and   is a percentage of asset  in portfolio  . For a risk neutral investor, we need to define
(1)
(2)
(3)</p>
      <p>The experimental part of this research includes comparison of the profitability of three portfolios.
The first one is built based on the historical data on Close prices of different financial instruments for
two years. We chose the following set of stocks for our experiment: AAPL, GOOG, MSFT, AMZN,
INTC, AMD, NVDA, F, TSLA, JPM, MS, VOO. The set includes shares of companies from different
sectors of the economy, such as high technology, microelectronics, engineering, banking, and finance.
Data on the price history of all the companies listed above can be found in the public domain on the
Yahoo Finance service. Close prices include all information after opening of assets trades, so close
price is more relevant than open prices, maximal and minimal prices. Another two portfolios are built
using additional data with forecasted Close prices for the next month. Predictions of the Close price for
the next month were made for each financial instrument using the LSTM neural network and linear
regression method. Comparisons of the obtained results are presented in Part 4. We used the Anaconda
Data Science Platform for our machine learning tasks. Anaconda is a software distribution of the Python
and R programming languages for scientific computing, including development, data processing, and
visualization tools. It also aims to simplify package management and deployment on any operational
system. The list of libraries that were used during development is presented in Table 2.
Experimental part of this research consists of the following stages:
• Collecting historical data from open sources.
• Initial data processing. Removing rows with missing values and data normalization.
• Generate predictions on next month's Close price for each financial instrument using LSTM
neural network and Linear Regression.
• Building an optimal investment portfolio based only on historical data. Building an optimal
investment portfolio based on historical data and next month's predictions.
• Comparing the effectiveness of three portfolios.</p>
      <p>Here is a brief overview of the experimental part of our research. Listings 1 through 4 correspond to
the first four steps of the workflow. We have used historical data on twelve stocks monthly close prices
for ten years to train our ML models. After that, we got a prediction on next month's close price for
each ticker. All data is retrieved using yfinance library which returns values as pandas dataframe object.
After all data is loaded, it should be filtered from null values and scaled to values from 0 to 1. On the
next code snippet, you can see the main function that accepts a dataframe object and a ticker name. This
function splits data to train and test datasets, creates an LSTM model, trains in on train dataset and
evaluates root mean squared error (RMSE), and returns prediction on next month Close price for a given
ticker. The dataset was divided into training and test parts in a ratio of 3 to 1.</p>
      <sec id="sec-4-1">
        <title>Listing 1: Loading data from Yahoo Finance.</title>
        <p>To determine the final prediction, we used the average of three independent LSTM model
predictions. Each iteration has random initial weights; network is trained for 100 epochs. The result of
each prediction may vary due to the stochastic nature of the algorithms used during the training process
of the neural network. We have also defined a separate function for building a prediction using linear
regression approach. Here we have no need to run training process more than once, because this
algorithm has no randomized parameters. Previous month close price was determined as explanatory
variable. The source code of the function is presented in listing 4. The last listing shows the usage of
pypfopt library, that generates an optimal (in terms of min volatility) investment portfolio based on
monthly Close price data for two years plus one value with prediction on next month Close price, which
we’ve generated by LSTM network or LR model. All source code is available on GitHub via the link
https://github.com/serhii1savchenko/invest-portfolio-generator.</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>4. Results</title>
      <p>Table 3 presents the results of the accuracy assessment of the LSTM and LR models on the test
dataset by the RMSE score. Fourth and sixth columns show the ratio of the RMSE score to the value of
the last known Close price. The most minor deviations for LSTM Close price predictions were obtained
for tickers VOO, GOOG, and MSFT. The lowest deviations for LR predictions also were obtained for
the same tickers. In two-thirds of the cases, the LR method gave better prediction results, however, the
difference is not very high. Therefore, we have built investment portfolios using both LSTM and LR
predictions.</p>
      <sec id="sec-5-1">
        <title>Listing 2: Main method for next month close price prediction using LSTM.</title>
      </sec>
      <sec id="sec-5-2">
        <title>Listing 3: Determination of the final prediction by three independent runs.</title>
        <p>Listing 4: Next month close price prediction using linear regression.</p>
        <p>. The distribution of the shares of financial instruments in the portfolio built exclusively on historical
data (Portfolio 1), the portfolio where the LSTM forecast for the next month was used (Portfolio 2), and
the portfolio where the LR forecast was used (Portfolio 3) is presented in Table 4. All portfolios are
built for risk-neutral investors. This is achieved by introducing a condition for minimizing the level of
allowable volatility (listing 5, line 13). Based on these weights we calculated the dynamics of changes
in the value of each of the portfolios during the first half of 2022. The initial balance of each portfolio
is USD 100,000.</p>
      </sec>
      <sec id="sec-5-3">
        <title>Listing 5: Investment portfolio generation.</title>
        <p>As we can see, all three portfolios lost in price, but the portfolio made taking into account LSTM
price predictions shows better dynamics (less loss). Also this portfolio has the smallest difference
between the expected and real value of 6-month income. Portfolio 1 (which was built only on historical
dataset) has the biggest difference between the expected and real return. Figure 2 is a graph showing
the percentage difference in the loss of the first portfolio relative to the second. For example, as of
February 2022, Portfolio 1 lost USD 9653.74 while Portfolio 2 lost USD 9432.89. Thus, the portfolio
made taking into account the forecast received a loss of 2.29% less than the base portfolio.</p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>5. Conclusions</title>
      <p>Thus, the paper contains a brief overview of different machine learning approaches which can be
used in the scope of personal finance software tools. During the experimental part of our research, we
developed a Linear Regression model and LSTM neural network that generate a prediction on next
month's close price of defined financial instrument. The predictions are based on historical data of the
financial instrument. We have also demonstrated that an investment portfolio that is build used not only
historical data but also one-month prediction shows better results even during the global recession
period. The paper doesn’t cover more sophisticated deep learning approaches for time series
predictions. We are going to expand current research on using more complex LSTM models, which
includes the windows method, multivariate time series forecasting, and using other methodologies for
an investment portfolio building, such as Black-Litterman portfolio optimization model.</p>
    </sec>
    <sec id="sec-7">
      <title>6. References</title>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1] Wilson,
          <string-name>
            <given-names>H. J.</given-names>
            ,
            <surname>Daugherty</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P. R.</given-names>
            and
            <surname>Morini-Bianzino</surname>
          </string-name>
          ,
          <string-name>
            <surname>N.</surname>
          </string-name>
          (
          <year>2017</year>
          ).
          <source>The Jobs that Artificial Intelligence will Create</source>
          .
          <source>MITSloan Management Review</source>
          . Vol.
          <volume>58</volume>
          (
          <issue>4</issue>
          ) URL: http://ilp.mit.edu/media/news_articles/smr/2017/58416.pdf
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>Wakefield</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          <article-title>A guide to the types of machine learning algorithms and their applications</article-title>
          . URL: https://www.sas.com/en_gb/insights/articles/analytics/machine
          <article-title>-learning-algorithms</article-title>
          .html
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <surname>Savchenko</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kobets</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          (
          <year>2021</year>
          ).
          <article-title>Development of Robo-Advisor System for Personalized Investment and Insurance Portfolio Generation</article-title>
          .
          <source>ICTERI 2021 Workshops. ICTERI 2021. Communications in Computer and Information Science</source>
          , vol.
          <volume>1635</volume>
          ,
          <year>2022</year>
          . doi:
          <volume>10</volume>
          .1007/978-3-
          <fpage>031</fpage>
          - 14841-5_
          <fpage>14</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <surname>Nogales</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Díaz-Moron</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>García-Tejedor</surname>
            ,
            <given-names>A. J.</given-names>
          </string-name>
          (
          <year>2022</year>
          ).
          <article-title>A comparison of neural and nonneural machine learning models for food safety risk prediction with European Union RASFF data</article-title>
          .
          <source>Food Control</source>
          ,
          <volume>134</volume>
          , 108697. doi:
          <volume>10</volume>
          .1016/j.foodcont.
          <year>2021</year>
          .108697
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <surname>Aworka</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cedric</surname>
            ,
            <given-names>L.S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Adoni</surname>
            ,
            <given-names>W.Y.H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zoueu</surname>
            ,
            <given-names>J.T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mutombo</surname>
            ,
            <given-names>F.K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kimpolo</surname>
            ,
            <given-names>C.L.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Nahhal</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Krichen</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          (
          <year>2022</year>
          ).
          <article-title>Agricultural decision system based on advanced machine learning models for yield prediction: Case of East African countries</article-title>
          .
          <source>Smart Agricultural Technology</source>
          ,
          <volume>2</volume>
          , 100048. doi:
          <volume>10</volume>
          .1016/j.atech.
          <year>2022</year>
          .100048
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <surname>Hossaina</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mullally</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Asadullah</surname>
            ,
            <given-names>M.N.</given-names>
          </string-name>
          (
          <year>2019</year>
          ).
          <article-title>Alternatives to calorie-based indicators of food security: An application of machine learning methods</article-title>
          .
          <source>Food Policy</source>
          ,
          <volume>84</volume>
          ,
          <fpage>77</fpage>
          -
          <lpage>91</lpage>
          . doi:
          <volume>10</volume>
          .1016/j.foodpol.
          <year>2019</year>
          .
          <volume>03</volume>
          .001
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <surname>Deléglise</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Interdonato</surname>
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bégué</surname>
            <given-names>A</given-names>
          </string-name>
          .,
          <string-name>
            <surname>d'Hôtel</surname>
            ,
            <given-names>E.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Teisseire</surname>
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Roche</surname>
            <given-names>M.</given-names>
          </string-name>
          (
          <year>2022</year>
          ).
          <article-title>Food security prediction from heterogeneous data combining machine and deep learning methods</article-title>
          .
          <source>Expert Systems With Applications</source>
          <volume>190</volume>
          , 116189. doi:
          <volume>10</volume>
          .1016/j.eswa.
          <year>2021</year>
          .116189
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <surname>Friedberg</surname>
            ,
            <given-names>B. A.</given-names>
          </string-name>
          <article-title>6 Best Portfolio Management Software Tools for Investors - 2022</article-title>
          . URL: https://www.roboadvisorpros.
          <article-title>com/best-portfolio-management-software-for-investors/</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9] Trading and
          <string-name>
            <given-names>Investment</given-names>
            <surname>Tools</surname>
          </string-name>
          . Investing.com. URL: https://www.investing.com/tools/
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <surname>Waliszewski</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zięba-Szklarska</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          (
          <year>2020</year>
          ).
          <article-title>Robo-advisors as automated personal financial planners - SWOT analysis</article-title>
          .
          <source>Journal of Finance and Financial Law</source>
          ,
          <volume>3</volume>
          (
          <issue>27</issue>
          ), pp.
          <fpage>155</fpage>
          -
          <lpage>173</lpage>
          . doi: http://dx.doi.org/10.18778/
          <fpage>2391</fpage>
          -
          <lpage>6478</lpage>
          .3.27.09.
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <surname>Staffini</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          (
          <year>2022</year>
          ).
          <article-title>Stock Price Forecasting by a Deep Convolutional Generative Adversarial Network</article-title>
          .
          <source>Front Artif Intell</source>
          , vol.
          <volume>5</volume>
          ,
          <year>2022</year>
          , doi: 10.3389/frai.
          <year>2022</year>
          .
          <volume>837596</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <surname>Bhandari</surname>
            ,
            <given-names>H. N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rimal</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pokhrel</surname>
            ,
            <given-names>N. R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rimal</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dahal</surname>
            ,
            <given-names>K. R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Khatri</surname>
            ,
            <given-names>R. K. C.</given-names>
          </string-name>
          (
          <year>2022</year>
          ).
          <article-title>Predicting stock market index using LSTM. Machine Learning with Applications</article-title>
          , vol.
          <volume>9</volume>
          ,
          <issue>2022100320</issue>
          , doi: 10.1016/j.mlwa.
          <year>2022</year>
          .
          <volume>100320</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <article-title>TIOBE Index for September 2022</article-title>
          . URL: https://www.tiobe.com/tiobe-index
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <surname>Project</surname>
            <given-names>Pro: 15</given-names>
          </string-name>
          <article-title>Popular Machine Learning Frameworks to Manage Machine Learning Projects</article-title>
          . URL: https://www.projectpro.io/article/machine-learning
          <source>-frameworks/509</source>
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <surname>Mangram</surname>
            ,
            <given-names>M. E.</given-names>
          </string-name>
          (
          <year>2013</year>
          ).
          <article-title>A Simplified Perspective of the Markowitz Portfolio Theory</article-title>
          .
          <source>Global Journal of Business Research</source>
          , vol.
          <volume>7</volume>
          (
          <issue>1</issue>
          ),
          <year>2013</year>
          , pp.
          <fpage>59</fpage>
          -
          <lpage>70</lpage>
          . URL: https://ssrn.com/abstract=2147880
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <surname>Snihovyi</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kobets</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ivanov</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          <article-title>Implementation of Robo-Advisor Services for Different Risk Attitude Investment Decisions Using Machine Learning Techniques</article-title>
          .
          <source>Communications in Computer and Information Science</source>
          ,
          <year>2019</year>
          , vol.
          <volume>1007</volume>
          , pp.
          <fpage>298</fpage>
          -
          <lpage>321</lpage>
          . doi:
          <volume>10</volume>
          .1007/978-3-
          <fpage>030</fpage>
          - 13929-2_
          <fpage>15</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <surname>Snihovyi</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ivanov</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kobets</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          <article-title>Implementation of Robo-Advisors Using Neural Networks for Different Risk Attitude Investment Decisions 9th</article-title>
          <source>International Conference on Intelligent Systems</source>
          <year>2018</year>
          : Theory, Research and Innovation in Applications, IS 2018 - Proceedings,
          <year>2018</year>
          ,
          <volume>8710559</volume>
          , pp.
          <fpage>332</fpage>
          -
          <lpage>336</lpage>
          . doi:
          <volume>10</volume>
          .1109/IS.
          <year>2018</year>
          .8710559
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>