scieee AI-readable full text Open interactive document viewer

A generalization of multi-source fusion-based framework to stock selection

Snášel, Václav

Abstract

Selecting outstanding technology stocks for investment is challenging. Specifically, the research of the investment for academic purposes is not mature enough due to the disarray of the publications and the overwhelming informative experience from profit-making websites. Often, some authors entitle the stock price prediction as a stock selection problem; both prediction and selection are just sub-sections of portfolio management. Moreover, stock websites provide numerous potential criteria showing various evaluations to simulate and monitor the stock market professionally, which increases the difficulty of academic studies on stock selection. The paper generalizes a novel framework with a user-interactive interface for stock selection problems based on multi-source data fusion and decision-level fusion to enhance reliability limited by the narrow criteria performance and the strength of a model overcoming the weakness of a single-performed model. This framework benefits the time-series prediction and decision-making study. Besides, we propose adopting dynamic time warping to assist a task-learning process by customizing a loss function that improves the accuracy of data prediction. The experiment shows that the proposed method reduces the prediction log error by 6.3% on average and decreases the warping cost by 5.6% on average over all cases of real-situation data. Finally, we illustrate the proposed framework by implementing it in a real-world stock data selection. The results are practical and effective, further justified through a detailed ablation study. The source code will be available at https://github.com/lingping-fuzzy.

Full text

Information Fusion 102 (2024) 102018 Available online 17 September 2023 1566-2535/© 2023 The Authors. Published by Elsevier B.V. This is an open access article under the CC BY-NC-ND license (http://creativecommons.org/licenses/bync-nd/4.0/). Contents lists available at ScienceDirect Information Fusion journal homepage: www.elsevier.com/locate/inffus Full length article A generalization of multi-source fusion-based framework to stock selection Václav Snášel a,1, Juan D. Velásquezc,e,1, Millie Pant b,f,1, Dimitrios Georgiou d,1, Lingping Kong a,∗,1 aFaculty of Electrical Engineering and Computer Science, VŠB-Technical University of Ostrava, Czech Republic bMehta Family School of Data Science and Artificial Intelligence, Indian Institute of Technology, Roorkee, Uttarakhand, 247667, India cDepartment of Industrial Engineering, University of Chile, Santiago, Chile dFaculty of Electrical Engineering and Computer Science, National Technical University of Athens, Greece eInstituto Sistemas Complejos de Ingeniería (ISCI), Chile fDepartment of Applied Mathematics and Scientific Computing, Indian Institute of Technology, Roorkee, Uttarakhand, 247667, India ARTICLE INFO Keywords: Stock selection Multi-source fusion Multi-criteria decision-making Time-series prediction Dynamic time warping ABSTRACT Selecting outstanding technology stocks for investment is challenging. Specifically, the research of the investment for academic purposes is not mature enough due to the disarray of the publications and the overwhelming informative experience from profit-making websites. Often, some authors entitle the stock price prediction as a stock selection problem; both prediction and selection are just sub-sections of portfolio management. Moreover, stock websites provide numerous potential criteria showing various evaluations to simulate and monitor the stock market professionally, which increases the difficulty of academic studies on stock selection. The paper generalizes a novel framework with a user-interactive interface for stock selection problems based on multi-source data fusion and decision-level fusion to enhance reliability limited by the narrow criteria performance and the strength of a model overcoming the weakness of a single-performed model. This framework benefits the time-series prediction and decision-making study. Besides, we propose adopting dynamic time warping to assist a task-learning process by customizing a loss function that improves the accuracy of data prediction. The experiment shows that the proposed method reduces the prediction log error by 6.3% on average and decreases the warping cost by 5.6% on average over all cases of real-situation data. Finally, we illustrate the proposed framework by implementing it in a real-world stock data selection. The results are practical and effective, further justified through a detailed ablation study. The source code will be available at https://github.com/lingping-fuzzy. 1. Introduction This section starts with the introduction of investment and explains why we chose technology stock (Tech stock) as an example to perform the selection. Then we enumerate several potential factors that make the stock selection research challenging. At last, we state our motivation for our work and the contribution from it. 1.1. Stock investment Investing, as per [1], is broadly arranging money to operate for a while in some project or undertaking to yield positive returns (i.e., profits exceeding the initial investment) [2]. It allocates resources, usually capital (i.e., money), to yield an income, profit, or gain. The question of ∗Corresponding author. E-mail addresses: [email protected] (V. Snášel), [email protected] (J.D. Velásquez), [email protected] (M. Pant), [email protected] (D. Georgiou), [email protected] (L. Kong). 1All authors contribute the same. ‘how to invest’ depends on which type of investment one prefers: Do-It- Yourself (DIY) [3] or professionally managed investing. DIY investors choose to manage their capital and trades on their platforms, also called self-directed investing, which requires a fair amount of instruction, time dedication, etc., [4]. However, risk and gains are always the two sides of a coin; low risk generally means low expected returns and vice-versa. Hence, preferences and risk tolerance are also factors that influence investment choices. DIY investing needs a strategically outlined plan for the investment’s goal, amount, and frequency before allocating resources. An emerging field of robot-advisor [5] for stock recommendation is attracting huge attention from researchers, requiring users to provide their information for the recommendations accordingly. https://doi.org/10.1016/j.inffus.2023.102018 Received 10 March 2023; Received in revised form 8 September 2023; Accepted 10 September 2023 Information Fusion 102 (2024) 102018 2 V. Snášel et al. Fig. 1. A simple view of potential criteria for stock selection from the source of YahooFinance.com. National Association of Securities Dealers Automatic Quotation System (NASDAQ) [6] is the stock exchange based in New York and the world’s first-ever electronic stock market. The technology https: //indexes.nasdaqomx.com/Index/Breakdown/COMP takes a large proportion of the NASDAQ composite composition, rising from 46.4% in 2018 to 51.13% by this year of 2022. Most Tech companies are new and unproven, and the user must be cautious before opting for these companies. Multi-criteria Decision Making (MCDM) [7] is a branch of operations research that explicitly assesses multiple conflicting decisionmaking criteria, such as benefit, cost, or price. MCDM may help determine a preference order based on instantaneous criteria among alternatives. Still, this ordering mechanism cannot work well when the given raw data is narrow or less accurate, leading to undesired biased results. When it comes to the stock data, this phenomenon of inefficiency appears. In detail, we will show this problem in Section 5. As this work focuses on the stock topic, we recommend the readers refer to more information about MCDM from [8]. This work will focus on the stock selection problem and propose a customized DIY stock selection framework with a user-interactive interface. We will illustrate the framework while experimenting with Tech stocks as an example. 1.2. Difficulties and challenges Investment is a complex discipline involving multiple changeable factors. Making decisions about any stock sector is challenging for any stock investor because of the complexities and volatile nature [9] that indirectly impact a sector’s growth. In addition, these dynamic or public policy complexities also affect the stock markets, making investing challenging. Specifically, studying the investment for academic purposes is also not mature enough due to the disarray of the publications and the overwhelming informative experience from profit-making websites. From the public channel view, we could find tons of stock-related profit-making websites providing ‘over’ comprehensive information. Here we say it is ‘over’ as most data are tough to understand and ‘hardly’ useful for DIY users. It is easy to screen/search top lists of potential stocks (with the highest earnings in related companies) regarding their net profit. But we know we cannot just go ahead and buy those stocks at their current transaction price. There are tons of related criteria [10] that affects directly or indirectly to the selection of stock https://business.unl.edu/ and https://github.com/ LastAncientOne/Stock_Analysis_For_Quant. Even the experts cannot calculate the intrinsic value of all stocks https://getmoneyrich.com/ stock-selection-criteria/. What do they do? They apply stock selection criteria to shortlist potential stocks. For example, from Yahoo- Finance.com, one can create at least 100 criteria in a view list for monitoring stock trends. Fig. 1 presents partially monitored/evaluated criteria from YahooFinance https://finance.yahoo.com/portfolio/p_0/ Fig. 2. Papers distribution on portfolio management in the Year 2018 to 2022 from Web of Science. view/v1,2including 16 sub-criteria of ‘Fundamentals’, 13 sub-criteria of ‘Basic’, 17 sub-criteria of ‘Details‘, and ‘Estimates’ ‘Moving Averages’ of main criteria, and so on. Moreover, from Investing.com, one can locate the main criteria of ‘Financials’ with sub-criteria of ‘Financial Summary’, ‘Income Statement’, ‘Balance Sheet’, ‘Cash Flow’, et. cl. ‘Total Revenue’, ‘Gross Profit’, and ‘Gross margin’ is shown under a sub-criteria of ‘Income Statement’. Further, for more detailed sub-sub- criteria, please refer to the site https://www.investing.com/equities/ tesla-motors-financial-summary. To a DIY user, it is not easy to summarize ‘extensive’ information from multiple sources over tons of criteria. Part of the complexities of stock investment in academic fields stems from the disarray of article categories and the ambiguous source introduction. The incorrect classification of stock-related papers misleads the readers on the main subject. In addition, the vague data source introduction makes it difficult to re-implement the selection process and leaves readers with question marks. Stock prediction, stock selection, and portfolio optimization constitute the portfolio management problem, as shown in Fig. 2. In Fig. 2, the size of an ellipse implies the number of related articles and the scope covering the topics. For example, there are 1679 articles related to the portfolio management problem, whereas only 49 articles involve stock selection and predictions. Stock prediction focuses on the stock price trends forecasting representing the potential gain/return. The task of stock selection is to evaluate stock stickers from conflict multicriteria and select a top list. A given distribution of resources among the chosen stocks is known as the stock portfolio. Defining the most convenient distribution of resources is known as portfolio optimization. Often, some article operates on the price prediction topic with the title including ‘stock selection’. For example, Fig. 3, obtained by free open software VOSviewer https://www.vosviewer.com/, presents the 2To access this link, one should create ‘My Portfolio’ by an account. Information Fusion 102 (2024) 102018 3 V. Snášel et al. Fig. 3. Diagram of keywords distribution that relates to stock selection/management (plotted by VOSviewer). Fig. 4. Web of science categories on articles with stock selection as keywords in the year 2018 to 2022. distribution of the keywords related to articles with stock selection or stock management from 2018 to 2022. In Fig. 3, keywords with a bigger font denote their large proportion in the whole distribution, and the links between keywords show their connections of appearance in the same articles. Despite being two subjects, we can observe that the ‘prediction’ is heavily associated with stock selection topics. There are a total of 1672 paper results from the Web of Science Core Collection related to TS(Topic) =(‘‘stock selection’’ OR ‘‘stock management’’ OR ‘‘portfolio management’’) in all disciplines. There are 69 results, taking a portion of 4.127% of results from Computer Science Interdisciplinary Applications and 143 with 8.553% proportion in Computer Science Artificial Intelligence fields, constituting 182 results (time retrieval 19. Jan. 2023). However, there are only 59 publications selected from Web of Science Core Collection TS(Topic) = (‘‘stock selection’’ OR ‘‘stock management’’) in all disciplines, only 49 results account for 83.051% in total from Computer Science Artificial Intelligence field, as in Fig. 4.Fig. 4 shows that the topic of stock selection appears in eleven disciplines, such as computer science, artificial, and telecommunications, and the size of colored rectangles area implies the quantities of the appearance. Moreover, due to the weak subject constraint, the publications may not focus on the selection problem but instead on the prediction problem. The blurred introduction of source data gives no details on how the authors filter out the undesired stock criteria, making it hard for other researchers to study. Table 1 select several works that applied various criteria and focused on prediction, selection, and optimization problems. The main highlights of our proposed method include the management of stock price prediction and stock selection problems, and it is scalable to an arbitrary number of criteria for decision-making. 1.3. Motivation Investment is a complex problem involving many factors affecting the gains. The stock selection problem can be as easy with limited components and sophisticated with fully designed architecture, which includes known data criteria and predicted financial trends and polity. In this work, we aim for a simple yet complete framework that helps DIY users to select stock with full control of the process for study purposes. Though some authors introduced the data source, it is hard to repeat their experiment without knowing the data extraction details and which specific criteria the investigation involved. Hundreds of conflict criteria are challenging for DIY users. Last but not least, as the statement states, almost no one buys the stock of top lists from a search engine at given prices. The stock selection techniques produce distinct solutions when given a different situation/environment. The DIY investment selection involves the user’s expectations (parameters of environment setting). This work focuses on the price prediction and stock selection problem, providing a comprehensive user-interactive framework, detailed data extracting, data construction, analysis, and selection, ensuring one of interest can reproduce the output, bringing convenience to academic purpose studies. The proposed framework is proposed only for academic study purposes, which does not accommodate factors such as environmental change or policy elements. Hence, we do not suggest investors apply it in real investment. We have not found a similar framework with a user-interactive interface for the stock selection problem. Such a framework benefits the quantitative study of complex stock selection problems, providing a platform for comparison and generalization. This framework contains two primary experimental Information Fusion 102 (2024) 102018 4 V. Snášel et al. Table 1 A summary of articles that relate to portfolio management. (Tit: Title; RLA: regularized linear algorithms; tEM: tree-based ensemble models; FFNs: feed-forward neural networks and LSTM: long short-term memory network, recurrent networks; RF: Random Forest; PCA: a principal component analysis; criteria (𝑥): arbitrary number of criteria [11–17].) Paper name Methods No. criteria/Trading data/source Year Selection Forecasting Type 2019 No Yes Analysis ML: AdaBoost; tree; SVM; NN: MLP 194 criteria; 1994 to 2016; Assembled by IHS marketTit: Machine learning for stock selection [11] 2021 No Yes Analysis RLA(Lasso, Ridge), RF, FFN, LSTM, AdaBoost, XgBoost 150 criteria; 2009 to 2021; S&P Global, Unigestion.Tit: Next generation of machine learning based stock selection models [12] 2020 No Yes Cluster PCA, Boltzmann machine, autoencoder, cluster analysis 12 criteria; 2006 to 2013; (http://stock.eastmoney.com/Tit: Effect of dimensionality reduction on stock selection with cluster analysis (...) [13] 2019 Yes Yes Selection Extreme learning machine; Evolution optimization 2(main) criteria; 2006 to 2016; https://www.wind.com.cn/Tit: A novel hybrid stock selection method with stock prediction [10] 2021 Yes Yes Portfolio Gradient boosting decision tree-Rank method 20 criteria; 2010 to 2020; https://www.wind.com.cn/Tit: Research on short term stock selection strategy based on machine learning [14] 2019 No Yes portfolio Mean–variance portfolio optimization, Markowitz Undefined; 2014 to 2018; www.coinmarketcap.comTit: Portfolio management with cryptocurrencies: The role of estimation risk [15] 2021 No Yes Optimization Hedging ratio and mean–variance approach Unclear; 1007 trading; Chicago Mercantile exchangeTit: Portfolio management and dependence structure... [16] 2022 No Yes Prediction Hidden Markov model Criteria (𝑥); 2012 to 2022; Pakistan stock exchangeTit: Stock selection through hidden Markov model: .. [17] Our Yes Yes Selection CAPM model; XGBoost with 11(𝑥)+6 criteria; 2019 to 2022; Focus: customized DIY stock selection framework with user-interactive interface customized loss fun, MCDM; {YahooFinance, Investing}.com, Alphavantage evaluations, price prediction and MCDM selection. Hence we verify the proposed framework from these two aspects showing the high prediction accuracy and practical selection results. 1.4. Main goal and contribution The developed model aims to select a subset of desired stocks with established reputations and trends. Hence a fusion-based model from data-level and decision-making support aspects is necessary. The data fusion on the multi-source raw data is to obtain the consensus analysis, thus dropping the substandard candidates. A customized loss function is developed to monitor the training process of the XGBRegressor [18] model for enhancing the stock price forecasting accuracy. Then the predicted data will be used for an individual-based analysis. After that, an MCDM decision-level fusion is applied to the processed data to obtain a consistent stock decision for investment. The main contributions of this work include the following: •We generalize a fusion-based model that performs the stock selection of DIY investment. This model starts with data fusion on the multi-source data and extracts a consensus analysis. Then the model performs decision-level fusion to integrate the final decisions that extend the strength of a model and overcome the weakness of a single-performed model. •The proposed model is scalable for developing, testing, and experimenting. An interested party can plug in techniques for any one of three sections, data fusion, individual-based analysis, and group decision-making separately, benefiting academic study. •Besides, we propose a customized loss objective function that combines dynamic time warping and standard loss evaluation to monitor the training process in a stock price prediction model, aiming to improve the data prediction accuracy. •Ultimately, we illustrate the model in a real-life stock selection problem. And we justify the effectiveness and practicality of the proposed model through a detailed ablation study. The paper is organized as follows: Section 2provides the preliminary and related works of the techniques/approach used in this work. Then the proposed loss function for the time-series forecasting is presented in Section 3. Next, in Section 4, we present and illustrate the proposed fusion-based stock selection model with a real-life stock selection application. At last, we give the analysis of the results and conclude the paper. 2. Preliminary and related works This section concerns the preliminary and related works we investigated and adopted in the proposed architecture. These techniques include Extreme Gradient Boosting (XGBoost) [19], Dynamic Time Warping (DTW) [20], and brief time-series forecasting. 2.1. Multi-source fusion techniques Some researchers [21–23] focused on the stock selection through the MCDM method, such as the hybrid MCDM approach combining Analytic Hierarchy Process [24] method with modern portfolio theory [25], MCDM hybrid approach [26] including Complex Proportional Assessment [27], simple additive weighting [28], and TOPSIS combined with Spearman’s rank correlation coefficient [29]. Although the mentioned literature [30–32] proposed comparative methods for the stock selection and talked about two potential questions that cannot be neglected: (1) Is the one source of data reliable, or should one acquire multi-source data for the analysis? (2) Which fusion level is more suitable for the stock selection problem? How to design a suitable fusion-based model for the corresponding stock selection problem. Multi-source data fusion (MDF) [33,34] methods have attracted extensive interest and verified to get more accurate results compared with the approach on the application for using individual sources separately. Fusion techniques are also utilized in an ensemble way as a hybrid model, such as the Model that combines different levels of fusion. To the best knowledge of us, MDF methods have not been extensively studied and applied to the stock selection problem. Ankit [9] provided the latest review on the fusion-based stock market prediction methods. In this review, the author considered nine criteria to analyze their survey. Three criteria were related to the prediction/forecasting (stock price, stock trend, risk/return) aspects; Only one criterion was about portfolio management; The other five criteria were Financial market conceptualization, Information fusion, Feature fusion, Model fusion, and other stock application. The applications of Information fusion, Feature fusion, and Model fusion techniques in this review mainly focused on the prediction/forecasting problems [35]. Stock recommendation and management problems received little attention. Information Fusion 102 (2024) 102018 5 V. Snášel et al. 2.2. Stock price data prediction As mentioned above, stock price prediction serves as a subsection problem of stock investment (selection), which reflects the pattern of financial activities and predicts their development and changes. Nevertheless, it is considered one of the most challenging tasks to accomplish in financial forecasting due to the complicated nature of the stock market. Researchers [36,37] investigated stock price prediction problems by various deep neural networks techniques, such as Convolution network [38], Long Short-Term Memory (LSTM) [39], Recurrent network [40], etc. Neural networks are constructed by layers of nodes, like the human brain composed of neurons, and enable virtual machine learning by emulating human behavior. The learning process iterates and improves by the backpropagation based on the learning loss. That loss calculation compares the ground truth (the actual stock price value) to the prediction results (neural network output). Loss measurements commonly include squared-log error (SLE), mean absolute error (MAE), root-mean-square error, etc. However, a neural network-based model requires much training data to perform well and produce satisfactory accuracy. The history stock price of three years only contains less than a thousand item data. Moreover, some learning model requires expensive GPUs to reduce learning time cost. Furthermore, some researchers preferred light machine learning methods for addressing stock price prediction, such as the hybrid GA- XGBoost algorithm used in [41], time-series forecasting Autoregressive Moving Average (ARMA) and SARIMA in [42,43]; embedded principal component analysis, discrete wavelet transform [44] for XGBoost; the hybrid method based on XGBoost and Long Short-Term Memory [45] etc. XGBoost efficiently implements a tree-based gradient-boosting algorithm for supervised classification and regression (XGBRegressor) problems. It became a popular predictive model, as we have seen in time-series data applications, with characteristics of fast and efficient and is a steady competition winner, such as those on Kaggle [46]. However, these works mentioned above and most other works [47,48] measured the prediction loss and validated the output accuracy based on the standard loss function, which did not take the time variance factor into account. The stock price trending is a time-series data. However, the distortion of two time-series data might appear during the prediction process. That is to say; the predicted value may not one- to-one match the observed sequences by the exact time index. Hence, weighting the prediction difference to the observation from one-to-one index points or one-to-one varied time index is necessary and practical. 2.3. XGBoost regressor and dynamic time warping For a quick understanding of the proposed model introduced in Section 4, we provide the preliminary introduction and operation of XGBoost and DTW. XGBoost is an open-source supervised Machine Learning [49] software library that integrates and optimizes decision trees [50] and gradient boosting [51] techniques. XGBoost iteratively corrects the errors driven through the current ensemble model and reaches a final solution by considering all prediction results of a single output. One of the benefits of adopting XGBoost is that it is an extensible library providing an interface of the customized objective function and corresponding metric for monitoring performance, source from https://xgboost.readthedocs. io/ where with hashtag customized-objective-function. As mentioned above, time-series analysis involves measuring the similarity between two sequences, which may vary in speed. Any data type can be transformed into a linear sequence and then be analyzed by DTW [52,53]. In general, when calculating the match [54,55] between two given data, there are certain constraints and rules as follows: •One-to-many (one) mapping. No consecutive skip-over; every point must be matched with one or more points from the other sequence. •Boundary conditions. The alignment path starts at the first point and ends at the last point, guaranteeing no partially matched of one sequence. And a good match is unlikely to wander too far from the diagonal alignment. •Slop constraint, monotonicity, and continuity. The matched sequence does not go back in ‘time’ and does not jump to a ‘time’ point (no skip any ‘time’ point), which guarantees the features of data are not repeated and does not omit important features in the sequence. Except for the restrictions above, it also requires a local constraint that guarantees the matched time indices 𝑖and 𝑗(where 𝑖, 𝑗, ∈Z), from two data, have a maximum limit where |𝑖−𝑗|≤𝑤,𝑤is a window parameter (or window size) and 𝑤∈Z.Fig. 5 presents an example of a warping path paired for time series (𝑎) and (𝑏). The warping path starts with a matrix size of 10 ×10 grid plot, as the length of data (𝑎) and (𝑏) is 10, then each step follows (𝑎𝑖, 𝑏𝑗) formulation where 𝑖, 𝑗 ∈ [0,…,9] and |𝑖−𝑗|≤𝜔, indicating that the warping index difference between two sequences is less than a window size with a value of ‘three’ in Fig. 5(right), as the colored diagonal moving grid is three in a row of the warping matrix. Fig. 5(left) shows the warping path result is paired sequences {[(𝑎0, 𝑏1),(𝑎1, 𝑏1),(𝑎2, 𝑏2),(𝑎3, 𝑏3),(𝑎4, 𝑏4),(𝑎5, 𝑏5),(𝑎5, 𝑏6),(𝑎6, 𝑏7),(𝑎7, 𝑏8), (𝑎8, 𝑏8)}. To obtain an optimal warping path, one could test every possible path between two given two sequences. However, this exhaustive method is computational complexity. DTW applies early abandoning and pruning in some fast DTW process [56,57]. In summary, taking advantage of the techniques mentioned above, we address the stock recommendation problem and propose a fusionbased model that integrates the data-fusion and decision-level fusion process on multi-source raw data, enhancing the reliability and conciseness of the input. Moreover, we propose a customized loss function that not only measures the standard loss on the difference between prediction and the ground truth but also considers the difference varies in time. 3. Proposed stock price data prediction In this section, we introduce the proposed stock price prediction strategy. This strategy is essentially an XGBRegressor with a variant loss function. We customize a new loss function that fuses the DTW cost and the prediction error. We first briefly recall the problem of employing XGBoost with a standard loss function on stock price prediction, then present the stock price prediction method in detail. Forecasting sequential data through machine learning is usually evaluated by standard metrics functions, indicating the difference between the prediction and observation are matched instantaneously. However, these classical metrics may fail to capture the feature pattern or behavior of the sequential data. Some researchers [58] proposed to design combined metrics to evaluate the prediction results, while this combined metric played no role in monitoring the training in machine learning. Hence we propose the customized loss function that fuses DTW cost and prediction loss (e.g., SLE) to capture the trending and fluctuation in stock price data. This customized objective function influences the forecasting process by the alignment performance and directs the optimization towards the desired solution rather than evaluating the prediction output [58]. One key aspect in designing the customized objective function is the gradient that decides the optimization direction and plays an essential role during model training. It is worth mentioning that there is an extra constraint in our customized loss function that the predictions only compare with the observations (ground truth) in the current and past time index and do not compare with future time index points. This constraint is reasonable because we can only refer to the past time-series data for the comparison and have no knowledge of the future data. Hence, the warping Information Fusion 102 (2024) 102018 6 V. Snášel et al. Fig. 5. Illustration of the matched path of index pairs for data time series (a) and time series(b) of length 10; (a) ={0, 1, 2, 3, 2, 1, 1, 2, 1, 1} and (b) ={1, 1, 2, 3, 2, 1, 2, 1, 1, 3}; Left: similar trends in crocodile and pink colors, where (1,1), (2,2), ..., (7, 8) are the matched time-indices pairs from two time-series data. Right: The warping path satisfies one-to-one mapping, boundary limit, monotonicity, and continuity conditions, and the match window is three. rules are modified to meet this constraint. For example, if we denote 𝑝𝑖is the prediction value, and let 𝑜𝑗be the observation, then the extra rule is set 0≤𝑖−𝑗≤𝑤, where 𝑖, 𝑗 ∈Zdenotes the time index, and 𝑤is a user-defined window parameter, where 𝑤∈Z. More specifically, we remove the condition of 0≤𝑗−𝑖≤𝑤. Algorithm 1: 𝐹𝑆𝐿𝐸 for XGBoost (Refer to https://xgboost. readthedocs.io/en/stable/tutorials/custom_metric_obj.html) INPUT: predt, target; OUTPUT: ,; /* Squared Log Error objective. A simplified version of the SLE */ 𝑓𝑙𝑜𝑠𝑠(𝑝𝑟𝑒𝑑𝑡, 𝑡𝑎𝑟𝑔𝑒𝑡) = 1 2[log(𝑝𝑟𝑒𝑑𝑡 + 1) − log(𝑡𝑎𝑟𝑔𝑒𝑡 + 1)] ; /* loss function for XGBoost */ 1: predt[predt <-1] ←-1 + 1e-6; 2: ←gradient(predt, target) ; 3: ←hessian(predt, target); /* gradient, hessian →refer to Algorithm 3 */ Algorithm 2: 𝐹𝐷𝑇 𝑊 +𝑆𝐿𝐸 for the proposed model INPUT: predt, target; OUTPUT: ′,′; /* Customized objective function, where we only need to provide gradient, hessian */ 1: predt[predt <-1] ←-1 + 1e-6; 2: dist ←dtw_cal(predt, target) ; /* dtw_cal →refer to Algorithm 4 */ 3: ′←gradient(predt, target) + 𝛼×dist; 4: ′←hessian(predt, target) + 𝛼×dist; Algorithm 3: gradient(predt, target) ; hessian(predt, target) INPUT: predt, target ; OUTPUT: gradient(predt, target),hessian(predt, target) ; gradient(predt, target)←𝑙𝑜𝑔1𝑝(𝑝𝑟𝑒𝑑𝑡) − 𝑙𝑜𝑔1𝑝(𝑡𝑎𝑟𝑔𝑒𝑡) 𝑝𝑟𝑒𝑑𝑡 + 1 ; hessian(predt, target)←(−𝑙𝑜𝑔1𝑝(𝑝𝑟𝑒𝑑𝑡) + 𝑙𝑜𝑔1𝑝(𝑡𝑎𝑟𝑔𝑒𝑡)+1 (𝑝𝑟𝑒𝑑𝑡 + 1)2; /* where 𝑙𝑜𝑝1𝑝(𝑥)is a function to 𝑥defined as 𝑙𝑜𝑝1𝑝(𝑥) = 𝑙𝑜𝑔(1 + 𝑥)*/ Algorithm 4: dtw_cal(predt, target) INPUT: predt, target, t; OUTPUT: dist; for k, (s, d), 𝑡 2do /* calculate warping cost from time 𝑠to time 𝑑 with window sliding size of 𝑡 2, where 𝑡is a parameter related to time stamp. */ dis ←dtw(predt[k:k+t], target[k:k+t], w); /* 𝑤is a user-defined window parameter related to DTW */ dist(k:k+ 𝑡 2)←dis; /* sliding assign distance cost to each time stamp */ /* dtw is a function calculating the warping cost, refer to [58] */ The role of the objective function is to provide the first and secondorder gradient information, labeled as gradient and hessian. The cost of DTW is a value measuring a ‘window’ length of data corresponding to several time indices. In contrast, the gradient information is assessed at each time index point. For this reason, we consider splitting the DTW cost equally and then passing it to each related index that contributes to the gradient. Here, DTW plays a subtle role in evaluating the trending of prediction. Hence we arrange a lower weight to the DTW cost than the SLE loss. For example, the customized loss function is the weighted accumulation result of DTW cost and SLE loss, where we scale down the DTW cost with a scale parameter 𝛼(𝛼 < 1)and then add this cost to the SLE loss. Our experiments use 𝛼= 0.1(Algorithm 2). This customized loss function is inspired by the observation [59] and the Register Hook interface (The hook will be called every time a gradient concerning the object is computed), that as the problem is complex and the gradient may not directly move towards to optimal solution, it is possible and necessary to modify the gradient information as the users’ need. The implementation of the proposed customized objective function denoted as 𝐹𝐷𝑇 𝑊 +𝑆𝐿𝐸 is shown in Algorithm 2, along with the reference objective function as 𝐹𝑆𝐿𝐸 in Algorithm 1. Algorithm 3provides the detail calculation of gradient and hessian for SLE, and the 𝑑𝑡𝑤_𝑐𝑎𝑙 function mentioned in Algorithm 2is shown in Algorithm 4. In summary, to use XGBoost for time series forecasting, we made two changes during training: (1) added the walk-forward validation [60] scheme that makes sure the training process is on the past data. Information Fusion 102 (2024) 102018 7 V. Snášel et al. Fig. 6. The proposed framework for stock selection with experimental data. (2) adjusted the DTW by applying an additional constraint that avoided comparing predictions and the observations in the future time index. The customized loss function measures the optimization performance and directs the optimization direction. A suitable loss function can direct the model training to a better status with lower error. 4. Fusion-based model for stock selection This section will introduce the proposed fusion-based model, which analyzes stock-related data and provides preferred investment options. This proposed architecture comprises the following steps: data-fusion processing and decision-fusion support. Data-fusion processing aims to refine the raw data and operates planned obsolescence to reduce the number of stock candidates. The decision-fusion process performs MCDM to obtain the final investment options. 4.1. Proposal This model is towards capital-low investors with no desire to take high risks for long-term prospects but rather for safety and small fluctuations investments. Hence the alternative stocks filter out those stocks with large fluctuations based on calculated metrics. We set the fundamental market benchmark based on the Standard and Poor’s 500 (S&P 500) [61] for estimating the risk-based results. S&P 500 stalks the performance of 500 large companies listed on stock exchanges and commonly works as equity indices determining the overall economy’s performance. Our goal is to finalize a set of Tech stocks for investing. The viewpoint of this proposed fusion-based model is the implementation and application of the succession of procedures that selects a subset of optimal stock candidates from a set of stocks in the Tech sector based on the analysis of user-preferred criteria. Those chosen candidate stocks would be reliable investment options. To better illustrate the model, we apply it to a practical stock investment application and present the resolution procedure in detail with Tech stock data. A pictorial process of the data fusion is shown in Fig. 6.Fig. 6 shows a detailed process of the proposed framework from the Input (bold in black) with static data and time-series price data to the Final output (in yellow). This framework comprises three sections, 1. Data Preparation; as time-series price data extraction and static data extraction from the database (shown in pink and light-yellow shadowed areas), 2. Individual-based analysis; stock filtering based on metric computation (shown in a squared area with blue notation), 3. Group-based analysis; process based on MCDM, as follows: 1. Data Preparation •Data selection (Investment horizon): Based on the expectations and goals thoroughly described below, we manually conclude upon 34 Tech stocks. •Data loading: For these 34 selected stocks we download historical time-series price data of a specific period from three different data sources (YahooFinance.com, Investing.com, Alpha Vantage), and download 11-feature static data, where the fundamental analysis includes 6features, the performance analysis owns 3features and the remaining 2fea- tures is for the technical analysis. 2. Individual-based Analysis In this section, the historical price data of all 34 stocks source from YahooFinance.com are used and analyzed individually. •Risk-based analysis: For each of these 34 stocks, the wellknown linear regression finance model CAPM is applied to calculate seven risk-adjusted metrics. Then we drop stocks if any metric of this stock is under the pre-determined threshold. After this screening, we conclude 18 stocks that meet all the threshold conditions. •Performance analysis: For each of these 18 remaining stocks, three features of performance analysis are measured, (YTD, 1-Year,3-Year). •Technical analysis: Subsequently, we calculate 2technical features weekly, monthly. This technical analysis consists of two steps, time-series data forecasting and the final recommendation conversion. Firstly, we predict the time-series price data by XGBRegressor with the proposed customized loss function, then calculate the week and month corresponding results. Next, discretized the calculated values into a five-scale recommendation [0,1,2,3,4], which financially corresponds to the technical indicators Strong Sell, Sell,Neutral,Buy and Strong Buy. Information Fusion 102 (2024) 102018 8 V. Snášel et al. 3. Group-based Analysis This section analyzes the static data with 11-features of all remaining 18 stocks in a group comparison view from two DMs. The first DM data is from Investing.com. The user constructed the second DM data with 11 features; the 6fundamental analysis features are derived from a database. The rest 5features are those calculated in the previous Individual-based analysis section. •Group-decision making: We apply the group decisionmaking process for further dropping stocks that are not meet expectations. Specifically, we calculate (𝑡𝑜𝑡𝑎𝑙𝑠𝑐𝑜𝑟𝑒, 𝑎𝑣𝑔𝑠𝑐𝑜𝑟𝑒, 𝑠𝑡𝑑𝑠𝑐𝑜𝑟𝑒, 𝑐𝑜𝑛𝑠𝑒𝑛𝑠𝑢𝑠)metrics based on two DMs data and compared them with the thresholds set by the user. We conclude upon 13 stocks that meet all the threshold conditions. (Note: thresholds depend on data; a user could determine it by threshold-relax method.) •Multi-criteria decision making (MCDM): Finally, three different MCDM algorithms are applied, namely TOPSIS, ELECTRE and PROMETHEE. Each one reaches a slightly different subset of stocks. The final consistent pool includes five stocks overlapping the three subsets, indicating the recommended stocks by the proposed model. 4.2. Data preparation The data preparation includes two major steps, stock selection based on the investment horizon and the implementation of data loading to obtain the stock data that we will work on later. 4.2.1. Stock selection: Investment horizon This is the first data selection process we apply based on the investment horizon. More than 3300 companies are traded publicly on the NASDAQ exchange. In 2022, the 51.13% (or approximately 1689) were high Tech stocks. In this section, we finalize our first set of rules (metrics evaluations) to filter out the undesired stocks and conclude upon a decent set of stocks. Selected features or calculated features accompany each stock. For this fusion-based model analysis, 11 features (criteria) were selected to analyze stocks. All these criteria lay under separate umbrellas of analysis, e.g., fundamental analysis criteria, performance analysis criteria, and technical analysis criteria. The selection of data features (criteria) is based on the data table head where the table was downloaded from investing.com of files named ‘fundamental.csv’, ‘technical.csv’ and ‘performance.csv’. For a detailed data extraction process, please refer to the following subsection. A. Fundamental analysis criteria For a stock, the fundamental analysis criteria [62] typically contain inspecting many factors associated with stock prices, e.g., (1) the overall performance in a domain that the company participates in, (2) the domestic political environment, (3) relevant trade agreements and external politics, (4) a company’s financial statements, (5) a company’s press releases, etc. Therefore, we select the following corresponding criteria to complete our analysis. •Market Capitalization (Market cap) refers to the total value of all a company’s shares of stock. –Note: The most significant advantage to adding large-cap stocks to an investment portfolio is their stability and wellestablished reputation with consumers. –Goal:𝑚𝑎𝑟𝑘𝑒𝑡_𝑐𝑎𝑝 ∈ (6𝐵, 10𝑇) •Price–earnings ratio (P/E Ratio) tells investors how much a company is worth, and it conveys how much investors will pay per share for 1 (unit) of earnings. –Note: This criterion determines if the expected growth warrants the premium that someone paid. –Goal:𝑝𝑒 ∈ (5,35) •Revenue (Gross Sales) depicts the total income generated by selling goods or services related to the company’s primary operations. –Note: This criterion is essential for extracting a total score for a stock. –Goal: None •Earnings per share (EPS) indicates how much money a company makes for each share of its stock and is a widely used metric for estimating the corporate value –Note: We aim at a steady source of income, and this criterion implies the room a company has for increasing its current dividend. –Goal:𝑒𝑝𝑠 > 2.5 •3 Month Average Volume (Average Vol (3 m)) is the daily average of the cumulative trading volume during the last three months –Note: The share price probably tanks if the investor decides to sell. This scenario is not ideal for individual investors. –Goal:𝑣𝑜𝑙 > 500000 B. Performance analysis features Features regarding the annualized year-to-date benchmark performance are selected. These three criteria selected are as follows: •YTD, 1-Year, 3-Year Returns Year to date (YTD) refers to the period beginning the first day of the current calendar year or fiscal year up to the current date. –Note: We deal with large-cap Tech stocks, so we expect them to outperform the market in a standard-based investment. –Goal:YTD >25% C. Technical analysis features The primary characteristic of technical analysis involves employing models and trading rules depending on price and volume transformations, e.g., moving averages, relative strength index, regressions, business cycles, and inter-market and intra-market price correlations. In this fusion-based analysis, we are interested in stock price movement. More specifically, the two criteria selected are as follows: •Weekly, Monthly (Technical indicators) are heuristic or patternbased signals produced by the price, volume, and/or open interest of a security or contract used by traders who follow technical analysis. –Note: This project aims to select a bunch of Tech stocks that are preferable for investing based on a set of rules. Focusing on ‘Strong Buy’ and ‘Buy’ stocks is essential. Technical indicators scale ranges from 0 to 4, corresponding from ‘Strong Sell’ to ‘Strong Buy’ five levels. –Goal:𝑤𝑒𝑒𝑘𝑙𝑦 ∈ {3,4},𝑚𝑜𝑛𝑡ℎ𝑙𝑦 ∈ {3,4} All the expectations and goals for all the criteria/features/metrics can be found under Table 2. Under this first set of rules from the authors’ preference, we conclude on 34 candidate companies and make the investment decision on their stocks; please refer to Table 3 for companies index and full name. The data is from public investing websites, correspondingly, Tech stocks traded in NASDAQ. 4.2.2. Data loading For the sake of completeness, we used three different APIs to load the requested data for the selected stocks. We used three different Python wrapper libraries that established well-structured functions to communicate with the respective APIs. All this information can be Information Fusion 102 (2024) 102018 9 V. Snášel et al. Table 2 Criteria/feature scope, expectations, and goals on the stocks; (exp): expectation, M: millions, T: trillion. Feature class Metric/Feature Movement (exp) Goal (exp) Range Fundamental analysis Market cap High ↑∈ (6𝐵, 10𝑇)– P/E ratio High ↑∈ (5,35) – Revenues High ↑– – EPS High ↑>2.5– Average Vol. (3 m) Medium ↕>5𝑀– Beta Low ↓∈ (0.4,1.6) – Performance analysis YTD return High ↑>25% – 1-Year return High ↑>25% – 3-Year return High ↑>25% – Technical analysis Weekly performance High ↑∈ {3,4} {1, 2, 3, 4} Monthly performance High ↑∈ {3,4} {1, 2, 3, 4} Table 3 The details information acronym and corresponding company. ID Name Acronym ID Name Acronym 0 Qualcomm Incorporated QCOM 17 Intuit Inc INTU 1 Tesla Inc TSLA 18 Sapiens International Corporation NV SPNS 2 NVIDIA Corporation NVDA 19 Bruker Corporation BRKR 3 Taitron Components Incorporated TAIT 20 InterDigital Inc IDCC 4 Intel Corporation INTC 21 MIND CTI Ltd MNDO 5 AudioCodes Ltd AUDC 22 Ebix Inc EBIX 6 Universal Display OLED 23 Wayside Technology Group Inc WSTG 7 Cisco Systems Inc CSCO 24 CDK Global Holdings LLC CDK 8 Microsoft Corporation MSFT 25 Western Digital Corporation WDC 9 Apple Inc AAPL 26 Activision Blizzard Inc ATVI 10 AstroNova Inc ALOT 27 MKS Instruments Inc MKSI 11 Garmin Ltd GRMN 28 Teradyne Inc TER 12 Elbit Systems Ltd ESLT 29 Analog Devices Inc ADI 13 Texas Instruments Incorporated TXN 30 Magic MGIC 14 Equinix Inc EQIX 31 Logitech International SA LOGI 15 CDW Corp CDW 32 Asia Pacific Wire & Cable Corp Ltd APWC 16 Broadcom Inc AVGO 33 Skyworks Solutions Inc SWKS Table 4 APIs used to extract the data. API Python module wrapper Link YahooFinance API yfinance yahoofinance.com Alpha Vantage API alphavantage alphavantage.com Investing.com API investpy investing.com found in Table 4. For each of these 34 stocks, we load all the available features. Availability differs for every API.3 We extract two different types of data for each stock. The first type is historical time series data and concerns the unique feature of adjusted closed price of the individual stock for a specific period (multiple samples per stock). The second type is static data and concerns the 11 features described in the previous section (1 piece of sample per stock). For the specific project, we are interested in a long-term analysis, so the period examined is a 3 Year period (between 01-04-2019 and 01- 04-2022), which is translated into 759 different timestamps. The data frames have the following shapes: We retrieve the above-mentioned data from each API separately, while some features are considered premium and cannot be accessed. The availability can be inspected in Table 5. As a result, the downloaded static data from Investing.com are shown in Table 6. The historical time-series price data of 34 stocks from YahooFinance.com and Alphavantage.com are shown in Tables 7 and 8, respectively. We noticed that the adjusted close prices from the two tables mentioned above are slightly difference. For a fair and reliable comparison of the source data, Fig. 7 shows the recorded historical price data in a plot form, where the red, blue, and green lines represent 3The technical indicators are considered premium features for AlphaVantage and cannot be accessed for free. data from Alphavantage.com,YahooFinance.com and Investing.com, respectively. Fig. 7 shows the time-series data on stocks AAPL and NVDA are matched. It can be seen that MSFT stock data from three sources vary much but with a matched increasing trend. 4.3. Individual-based analysis In this section, the historical price time-series data of all 34 stocks are used and analyzed individually. This process aims to drop undesirable stocks from candidates based on individual performance. 4.3.1. Risk-based analysis This section YahooFinance API4removes undesirable stocks based on their performance on risk-evaluated metrics calculated on the historical price data. The risk-related metrics are calculated based on Capital Asset Pricing Model (CAPM) model [63] using annualized logarithmic returns stock price data rather than raw stock price data. A. Annualized return We calculate the daily logarithmic return between timestamp 𝑡and 𝑡− 1, where 𝑡∈Z. This return is then annualized by multiplying the result with the number of trading days 𝑡𝑟_𝑑𝑎𝑦𝑠 ∼ 253.Annual percentage rate (APR) represents the annual rate charged for earning or borrowing money and is used to calculate interest for investment. ⎧ ⎪ ⎨ ⎪ ⎩ 𝑙𝑜𝑔_𝑟𝑒𝑡𝑡=𝑙𝑜𝑔(𝑝𝑟𝑖𝑐𝑒𝑡) − 𝑙𝑜𝑔(𝑝𝑟𝑖𝑐𝑒𝑡−1) 𝑟𝑓=risk-free rate or annualized YTD of the 3-month T-bill 𝑎𝑝𝑟𝑡=𝑙𝑜𝑔_𝑟𝑒𝑡𝑡× 253 − 𝑟𝑓 (1) 4We explicitly showed API’s trustworthiness compared to the rest two APIs. Information Fusion 102 (2024) 102018 16 V. Snášel et al. Table 18 The prediction on Weekly and Monthly criteria value by the proposed customized loss function for each stock. Tickers MSFT TXN AAPL AVGO CDW INTU NVDA BRKR TER Weekly −4.674 −1.036 −4.947 −0.224 0.152 43.581 10.886 2.039 0.901 Monthly −1.957 0.248 1.626 0.471 −0.176 55.140 6.531 1.349 1.189 Tickers QCOM EQIX SPNS MGIC ESLT LOGI TSLA AUDC ATVI Weekly −0.868 −4.857 0.064 0.419 −51.675 1.555 −9.692 0.300 −0.473 Monthly 1.781 −2.191 0.024 0.339 −37.214 2.157 −11.716 0.206 −0.236 Table 19 Recommendation conversion result from predicted price value to Weekly and Monthly criteria. Symbol 𝛼 𝛽 𝑅2Sharpe Treynor F_test 1 Year 2 Year 3 Year YTD Weekly Monthly MSFT 15.37 1.15 72.22 1.04 0.30 1968.15 25.24 43.93 38.95 −7.81 2 1 TXN 2.23 1.15 63.85 0.58 0.15 1337.02 − 5.31 40.67 21.95 −2.75 2 2 AAPL 26.14 1.17 63.27 1.28 0.43 1304.25 39.27 71.29 55.28 −1.71 2 2 AVGO 7.49 1.32 61.96 0.70 0.20 1232.76 32.03 72.87 31.76 −5.14 2 2 CDW 2.24 1.21 61.38 0.56 0.15 1203.06 4.69 43.07 23.07 −12.92 2 2 QCOM 14.05 1.28 44.11 0.74 0.27 597.54 6.61 52.35 39.82 −19.29 2 2 EQIX 6.29 0.80 36.63 0.59 0.19 437.51 12.26 14.95 20.64 −9.40 2 1 TSLA 76.35 1.41 22.59 1.42 1.14 220.90 56.95 235.58 165.68 2.63 2 1 AUDC 7.17 0.92 19.19 0.43 0.20 179.77 − 8.27 6.65 23.88 −26.11 2 2 ATVI 8.37 0.64 17.01 0.50 0.24 155.11 −17.02 19.23 20.16 21.48 2 2 INTU 1.76 1.24 61.09 0.55 0.14 1188.59 20.95 50.00 23.00 −24.68 4 4 NVDA 35.63 1.55 52.17 1.18 0.49 825.60 91.10 109.88 80.64 −9.16 3 2 Table 20 Weights for each criterion, the weights are pre-defined by a user based on some investigation with greater values to risk metrics. Veto Threshold Market Cap 1% P/E Ratio 2.5% Revenue 2.5% Average Vol 1.5% EPS 10% Beta 25% YTD 15% 1 Year 6.5% 3 Year 1% Weekly 25% Monthly 10% Step 3: We calculate score for each stock, and the score is defined as the summation of all features’ values, considered as the final ranking for the stocks of the portfolio. For example, the score of the 𝑖th stock is calculated as: 𝑠𝑐𝑜𝑟𝑒𝑖= 11 ∑ 𝑗=1 𝑥′ 𝑖𝑗 Step 4: Then each stock we calculate its total score, the average score, the standard deviation and the consensus score for data of two given DMs. 𝑡𝑜𝑡𝑎𝑙𝑖= 2 ∑ 𝑘=1 𝑠𝑐𝑜𝑟𝑒𝑖𝐷𝑀𝑘 𝑎𝑣𝑔𝑖=𝑡𝑜𝑡𝑎𝑙𝑖 2 𝑠𝑡𝑑𝑖=√∑𝐾 𝑘=1(𝑠𝑐𝑜𝑟𝑒𝑖𝐷𝑀𝑘−𝑎𝑣𝑔𝑖)2 2 𝑐𝑜𝑛𝑠𝑒𝑛𝑠𝑢𝑠𝑖= 1 − 𝑠𝑡𝑑𝑖 𝑠𝑡𝑑𝑡ℎ (4) The 𝑠𝑡𝑑𝑡ℎ is the threshold for the scores’ standard deviation. 𝐷𝑀𝐾 is the 𝑘th decision maker, and we constructed two DMs in our case. Step 5: After having accurately defined all the group decisionmaking metrics and the desired thresholds (as shown in the Table 22), we drop all stocks that have at least one metric value out of the respected thresholds. Thus, we conclude on 13 candidate companies and make the investment decision on their stocks, while the 5stocks with tickers INTU, ESLT, LOGI, TSLA, AUDC, ATVI are dropped. The average Consensus Score for 𝐷𝑀1,𝐷𝑀2on these remaining 13 stocks is 60.45%. The group decision-making analysis results are shown in Table 23. 4.4.2. MCDM application In this section, we apply 3different MCDM methods, namely TOPSIS, ELECTRE and PROMETHEE, on the remaining 13 stocks. We aim to reach a final consistent pool of desirable stocks from a DIY investment perspective. For each of these remaining 13 stocks, we use the 11-feature static data provided by Investing.com. All features are those downloaded directly from the data source. The basic environment configuration and the expected number of stock information are shown in Table 24. Before applying all MCDM methods, the static data are normalized to ease the comparison among various criteria, as A. Define the initial matrix and the weight of criteria. The normalized data are the input to all 3MCDM methods, which process them and reach 3different subsets of stocks as shown in sections B. TOPSIS method,C. ELECTREEE method and D. PROMETHEE. Finally, we conclude on a final consistent pool of stocks, including those present in all 3subsets as shown in E. Conclusion. A. Define the initial matrix and the weight of criteria The initial data has 13 rows corresponding to 13 residual stocks and 11 columns corresponding to 11 criteria/features data sources from Investing.com. The annotations for the MCDM process are shown in Table 25. We normalize the initial criteria data by weights 𝑊to ease the various scale problems. The weight vector 𝑊differs from the one used in the Group Decision Making section, where we assign higher weights to Performance and Technical criteria to overcome insecurity and reach good consensus scores. In this normalization process with 𝑊, we emphasize Fundamental criteria as this class feature reflects the overall performance of a company to some degree. The weights 𝑊are shown in Table 26. For the normalized decision matrix  𝑋= { 𝑥𝑖𝑗 }, The normalization value 𝑥𝑖𝑗 of 𝑗th feature of 𝑖th stock 𝑥𝑖𝑗 is calculated by Section 4.4.1, where in this case, 𝑁= 13 denoting the remaining stocks. B. TOPSIS method application The primary regulation of the TOPSIS method is that the optimal alternative should be close to the positive ideal solution. In the meantime, this alternative should be distant from the negative virtual Information Fusion 102 (2024) 102018 17 V. Snášel et al. Table 21 Normalized results on static data. Normalized result of stock Invesing.com Ticker Market cap Revenue Average volume EPS P/E Ratio Beta YTD 1 Year 3 Years Weekly Monthly DM1 MSFT 59.31 17.24 12.73 21.10 1.12 0.74 −0.70 2.87 8.32 1.31 2.86 126.89 TXN 4.30 1.71 2.13 18.54 0.76 0.78 −0.30 −0.54 3.39 1.31 2.86 34.93 AAPL 72.60 35.26 31.61 13.51 0.99 0.96 −0.16 4.33 13.51 1.31 2.86 176.80 AVGO 6.54 2.66 0.88 39.40 1.23 0.84 −0.51 3.30 5.57 1.31 2.86 64.07 CDW 0.61 1.94 0.31 15.78 0.87 0.90 −1.16 0.51 4.12 0.65 2.86 27.40 INTU 3.50 1.06 0.66 17.60 2.10 0.90 −2.18 2.33 4.19 0.33 2.14 32.64 NVDA 17.11 2.51 17.86 8.64 2.43 1.16 −0.81 9.70 25.22 1.31 2.86 87.99 Normalized result of stock YahooFinance.com Symbol Market cap Revenue Average volume EPS P/E Ratio Beta YTD 1 Year 3 Years Weekly Monthly DM2 MSFT 59.31 17.24 12.73 21.10 1.12 0.96 −0.69 2.87 8.32 0.87 1.19 125.01 TXN 4.30 1.71 2.13 18.54 0.76 0.97 −0.24 −0.54 3.39 0.87 2.37 34.25 AAPL 72.60 35.26 31.61 13.51 0.99 0.98 −0.15 4.33 13.51 0.87 2.37 175.91 AVGO 6.54 2.66 0.88 39.40 1.23 1.11 −0.46 3.30 5.57 0.87 2.37 63.46 CDW 0.61 1.94 0.31 15.78 0.87 1.02 −1.15 0.51 4.12 0.87 2.37 27.26 INTU 3.50 1.06 0.66 17.60 2.10 1.04 −2.19 2.33 4.19 1.74 4.75 36.78 NVDA 17.11 2.51 17.86 8.64 2.43 1.30 −0.81 9.70 25.22 1.30 2.37 87.64 BRKR 0.25 0.23 0.28 4.06 1.22 0.95 −2.00 0.01 3.58 0.87 2.37 11.81 Table 22 Group decision making metrics thresholds. Score Threshold Condition Total score 0 𝑡𝑜𝑡𝑎𝑙𝑖≥0 Average score – – Standard deviation 1.5 𝑠𝑡𝑑𝑖≤1.5 Consensus score 15 𝑐𝑜𝑛𝑠𝑒𝑛𝑠𝑢𝑠𝑖≥15 solution (ideal in an opposing direction) candidate. Therefore, the TOPSIS method starts calculating the positive/negative ideal solution, and then calculates each candidate’s distance score (closeness score) to these two ideal solutions. Lastly, the stocks/alternatives are ranked based on the closeness score. A relative closeness score is always between 0 and 1, and an option is best when it is closer to 1. The solution to the problem or the best alternative is the one with the highest closeness score. We set the threshold value as 0.25, 𝑅𝑗≥0.25, of closeness measurement for selecting the potential alternative, for which each selected stock should have closeness values larger than this threshold. We provide the intermediate calculation steps of TOPSIS on experimental data in Appendix. The intermediate pictorial result is shown in Table 27, where the positive ideal solution, negative virtual solution, and closeness denoted as D_plus,D_minus and D_closeness, respectively. And the final selected stocks are shown in Table 28. Therefore, the candidates that are desirable to invest are: 1. AAPL →Apple Inc 2. MSFT →Microsoft Corporation 3. NVDA →NVIDIA Corporation 4. AVGO →Broadcom Inc 5. QCOM →Qualcomm Incorporated C. ELECTRE I with & without veto method application ELECTRE method creates a ranking of alternatives described on some criteria [68] by a comprehensive evaluation approach. The ELECTRE I method is the first method of the ELECTRE family and concerns the pairwise comparison of the alternatives. The method’s goal is not necessarily to find the optimal alternative but rather a subset of alternatives, through a series of successive checks, that will be superior to the rest. The steps are thoroughly described in Appendix. The final selection results are shown in Tables 29 and 30 for methods ELECTRE I with and without veto, respectively. Both methods reached the same pool of selected stocks (alternatives), validating that the results are consistent. The candidates that are desirable to invest in are: 1. AAPL →Apple Inc 2. MSFT →Microsoft Corporation 3. NVDA →NVIDIA Corporation 4. AVGO →Broadcom Inc 5. EQIX →Equinix Inc D. PROMETTHEE method application PROMETTHEE [69] method orders the alternatives based on the criteria performance and assigns weights with respect to the criteria. PROMETTHEE I aims to get a partial ranking of alternatives, and PROMETTHEE II obtains a full ranking of all alternatives. The number of stocks/alternatives is 13, and the criteria number is 11. The process of producing the net outranking flow on alternatives by the PROMETTHEE II method is provided in Appendix. After that, rank all the alternatives based on the net outranking flow value 𝑓(𝐴𝑘), corresponding to the rank list of desirable stocks. The results show the desired stocks worthy of investment are in Table 30 and as follows: 1. NVDA →NVIDIA Corporation 2. AAPL →Apple Inc 3. MSFT →Microsoft Corporation 4. AVGO →Broadcom Inc 5. EQIX →Equinix Inc 6. TXN →Texas Instruments Incorporated 7. CDW →CDW Corp E. Conclusion The process of MCDM is to reach uniform results in which each candidate’s performance is guaranteed and confirmed. The final stocks are the crossed stocks ranked in the top results list by TOPSIS, ELECTRE, and PROMETTHEE. Based on the analysis and performance above, we conclude that NVDA, AAPL, MSFT, AVGO, and EQIX, are the best investment options. Correspondingly their full names are ‘NVIDIA Corporation’, ‘Apple Inc’, ‘Microsoft Corporation’, ‘Broadcom Inc’, and ‘Equinix Inc’. •Nvidia Corporation is a global leader in artificial intelligence hardware and software. NVIDIA designs application programming interfaces for data science, high-performance computing, and system-on-chip units for the mobile computing and automotive market. Especially graphics processing units developed by NVIDIA are becoming more popular in creative production and artificial intelligence, which makes NVIDIA stocks a strong selection. Information Fusion 102 (2024) 102018 18 V. Snášel et al. Table 23 Group decision making results. Ticker DM1 DM2 Total score Average St. dev Standard consensus CDW 27.40 27.26 54.66 27.33 0.10 95.02 NVDA 87.99 87.64 175.63 87.81 0.25 87.44 AVGO 64.07 63.46 127.52 63.76 0.43 78.58 TXN 34.93 34.25 69.18 34.59 0.48 75.99 ATVI 23.67 22.86 46.54 23.27 0.57 71.41 AAPL 176.80 175.91 352.71 176.36 0.63 68.31 QCOM 41.65 42.85 84.49 42.25 0.85 57.61 TER 23.30 24.72 48.01 24.01 1.00 49.84 SPNS 4.87 6.37 11.24 5.62 1.07 46.67 MGIC 10.26 11.79 22.04 11.02 1.08 45.88 BRKR 10.07 11.81 21.89 10.94 1.23 38.57 EQIX 27.98 26.19 54.18 27.09 1.26 36.83 MSFT 126.89 125.01 251.90 125.95 1.33 33.71 Table 24 MCDM settings for selecting the desired stocks. Method # Stocks # Selected Threshold TOPSIS 13 5 Closeness =0.25 ELECTRE I (with veto) 13 5 Agreement/disagreement (initial) 1.0/0.0 ELECTRE I (without veto) 13 5 – PROMETTHEE 13 7 Preference function: TypeI, TypeV Final-decision 5 Common stocks that selected by all methods Table 25 Annotation used in MCDM section on the residual data. Symbols Annotation 𝑛The number of residual alternative stocks, 𝑛= 13 𝑚The number of criteria, where 𝑚= 11 𝑖, 𝑗, 𝑘 The corresponding index symbol. 𝑊The weights concerning 11 criteria. 𝑊= [𝑤1,…, 𝑤11]. 𝑋The initial data 𝑋= {𝑥𝑖𝑗 }, where 𝑖= 1,2,…, 𝑛;𝑗= 1,2,…, 𝑚.  𝑋The normalized data matrix on 𝑋, 𝑋= { 𝑥𝑖𝑗 } A The symbol of alternative, where 𝐴𝑖represents the 𝑖th alternative (stock) K The kernel size used in the ELECTREE method. It is a variable, which is initialized as 𝐾0=𝑛= 13 D(𝐴𝑖, 𝐴𝑗) A relation between alternative 𝐴𝑖and 𝐴𝑗 C(𝐴𝑖, 𝐴𝑗) A relation between alternative 𝐴𝑖and 𝐴𝑗 P(𝐴𝑖, 𝐴𝑗) A relation between alternative 𝐴𝑖and 𝐴𝑗 Table 26 User-defined weights for data normalization. Those weights emphasize fundamental criteria/features. Veto Threshold Market cap 2.5% P/E ratio 10% Revenue 15% Average Vol 2.5% EPS 15% Beta 12.5% YTD 10% 1 Year 10% 3 Year 2.5% Weekly 12.5% Monthly 7.5% •Apple Inc. owns the most prominent market capitalization in the world, which provides and designs consumer electronics, software, and online services that involve our daily life. Its products have always become best sellers and one of the mass-produced microcomputers. •Microsoft Corporation produces computer software, consumer electronics, and personal computers, and its best-known software products include Windows operating systems, Microsoft Office suite, and Edge web browsers. Those products are typical consumption in our modern daily life. •Broadcom Inc. is a designer, developer, manufacturer, and global semiconductor and infrastructure product supplier for data centers, networking, software, broadband, wireless, storage, and industrial markets. •Equinix, Inc. specializes in Internet connection and data centers. These five companies earn their reputations through their welldesigned products and services, and these five stocks are nominated as the preferred stocks for investment by the proposed fusion-based model. 5. Detailed ablation studies In this section, we will compare the selection results when given a single technique of the proposed fusion-based model. The ablation studies include two parts; we remove the data-fusion process and decision-level fusion from our fusion-based model separately, namely the model with only the data-fusion process and the model with only decision fusion. 5.1. Model with data-fusion We name this model with only the data fusion process as Vmodel-1, and it starts with data selection and data loading, then ends with the individual-based analysis. Vmodel-1 drops the stocks that cannot reach the user’s expectations. The data selection and loading of Vmodel-1 follow the same procedure as our proposed model. First, there are 34 stocks selected. Then we analyze the stock individually using risk-related metrics and reach a standard consensus score. The risk-related evaluation result of Vmodel-1 is shown in Table 10. After that, Vmodel-1 performs the standard consensus analysis following our proposed model, and the result is shown in Table 31 ending up with 13 stocks. Though these 13 stocks satisfied the expected criteria, we can see that the total score, average or standard consensus evaluation varies much from the Table 31, i.e., the evaluation total score differ from value 11.24 to 352.71, the evaluation Average score are in a range between 5.62 to 176.36. The Standard consensus values of 13 stocks also vary widely. Those values imply a preliminary selection result that needs to be further handout from conflict criteria evaluation. Nevertheless, the users of DIY investors have little chance of accepting these confusing results with a high difference score gap on the Standard consensus score or Total score. This result requires further process on the results. Information Fusion 102 (2024) 102018 19 V. Snášel et al. Table 27 Calculated metrics results by TOPSIS for all 13 residual stocks. The data are the corresponding features/criteria from Investing.com. Ticker Market cap Revenue Avg. volume EPS P/E ratio Beta YTD 1 Year 3 Years Weekly Monthly Dplus Dminus Closeness CDW 0.26 0.49 0.05 10.49 0.95 2.15 −2.22 0.43 4.81 1.48 4.31 44.35 10.63 0.19 NVDA 7.15 0.63 3.06 5.74 2.66 2.78 −1.54 8.09 29.40 2.96 4.31 32.58 29.32 0.47 AVGO 2.73 0.67 0.15 26.19 1.34 2.02 −0.97 2.75 6.49 2.96 4.31 38.02 26.53 0.41 TXN 1.79 0.43 0.36 12.32 0.83 1.86 −0.57 −0.45 3.96 2.96 4.31 43.13 12.98 0.23 ATVI 0.67 0.21 0.71 5.13 0.87 1.06 3.61 −1.33 4.27 2.96 4.31 46.49 10.21 0.18 AAPL 30.33 8.89 5.41 8.98 1.09 2.31 −0.31 3.61 15.76 2.96 4.31 23.09 36.01 0.61 QCOM 1.77 0.85 0.65 13.03 0.66 2.35 −3.30 0.58 9.30 0.00 3.23 40.17 13.81 0.26 TER 0.20 0.09 0.12 8.24 0.80 2.90 −4.85 −0.84 10.75 0.74 2.16 43.15 10.27 0.19 SPNS 0.02 0.01 0.00 1.27 1.12 2.68 −4.17 −1.71 4.09 0.00 2.16 49.74 2.00 0.04 MGIC 0.01 0.01 0.00 0.90 1.08 2.62 −2.74 1.00 6.48 0.00 2.16 48.09 4.61 0.09 BRKR 0.10 0.06 0.05 2.70 1.33 2.41 −3.79 0.01 4.17 0.00 2.16 48.54 3.18 0.06 EQIX 0.74 0.16 0.03 8.27 5.02 0.90 −1.65 1.09 3.99 2.96 4.31 45.04 10.27 0.19 MSFT 24.78 4.35 2.18 14.03 1.23 1.76 −1.35 2.40 9.70 2.96 4.31 25.90 29.77 0.53 Table 28 The final selection results by TOPSIS. Ticker Market cap Revenue Average volume EPS P/E ratio Beta YTD 1 Year 3 Years Weekly Monthly AAPL 2.84E+12 3.78E+11 9.33E+07 6.02 28.99 1.18 −1.84 41.72 259.33 4 4 MSFT 2.32E+12 1.85E+11 3.76E+07 9.40 32.80 0.90 −8.00 27.67 159.60 4 4 NVDA 6.69E+11 2.69E+10 5.27E+07 3.85 70.96 1.42 −9.18 93.40 483.87 4 4 AVGO 2.56E+11 2.85E+10 2.58E+06 17.55 35.87 1.03 −5.78 31.73 106.89 4 4 QCOM 1.66E+11 3.60E+10 1.12E+07 8.73 17.51 1.20 −19.62 6.68 153.04 0 3 Table 29 Results of selected desired stocks by ELECTRE I with and without a veto. Without veto result Ticker Market cap Revenue Average volume EPS P/E ratio Beta YTD 1 Year 3 Years Weekly Monthly NVDA 6.69E+11 2.69E+10 5.27E+07 3.85 70.96 1.42 −9.18 93.40 483.87 4 4 AVGO 2.56E+11 2.85E+10 2.58E+06 17.55 35.87 1.03 −5.78 31.73 106.89 4 4 AAPL 2.84E+12 3.78E+11 9.33E+07 6.02 28.99 1.18 −1.84 41.72 259.33 4 4 EQIX 6.92E+10 6.64E+09 4.67E+05 5.54 133.97 0.46 −9.79 12.54 65.71 4 4 MSFT 2.32E+12 1.85E+11 3.76E+07 9.40 32.80 0.90 −8.00 27.67 159.60 4 4 With veto result Ticker Market cap Revenue Average volume EPS P/E ratio Beta YTD 1 Year 3 Years Weekly Monthly NVDA 6.69E+11 2.69E+10 5.27E+07 3.85 70.96 1.42 −9.18 93.40 483.87 4 4 AVGO 2.56E+11 2.85E+10 2.58E+06 17.55 35.87 1.03 −5.78 31.73 106.89 4 4 AAPL 2.84E+12 3.78E+11 9.33E+07 6.02 28.99 1.18 −1.84 41.72 259.33 4 4 EQIX 6.92E+10 6.64E+09 4.67E+05 5.54 133.97 0.46 −9.79 12.54 65.71 4 4 MSFT 2.32E+12 1.85E+11 3.76E+07 9.40 32.80 0.90 −8.00 27.67 159.60 4 4 Table 30 Results of selected desired stocks by PROMETTHEE. Ticker Market cap Revenue Average volume (3 m) EPS P/E ratio Beta YTD 1 Year 3 Years Weekly Monthly NVDA 6.69E+11 2.69E+10 5.27E+07 3.85 70.96 1.42 −9.18 93.40 483.87 4 4 AAPL 2.84E+12 3.78E+11 9.33E+07 6.02 28.99 1.18 −1.84 41.72 259.33 4 4 MSFT 2.32E+12 1.85E+11 3.76E+07 9.40 32.80 0.90 −8.00 27.67 159.60 4 4 AVGO 2.56E+11 2.85E+10 2.58E+06 17.55 35.87 1.03 −5.78 31.73 106.89 4 4 EQIX 6.92E+10 6.64E+09 4.67E+05 5.54 133.97 0.46 −9.79 12.54 65.71 4 4 TXN 1.68E+11 1.83E+10 6.27E+06 8.26 22.20 0.95 −3.39 −5.20 65.11 4 4 CDW 2.40E+10 2.08E+10 9.12E+05 7.03 25.43 1.10 −13.18 4.93 79.11 2 4 5.2. Model with MCDM selection We name this model with only the decision-level fusion process as Vmodel-2, and it starts with the data selection and ends with group decision-making based on MCDM analysis. Vmodel-2 selects the top-ranked stocks as a result. The data is selected from the Investing.com, and the candidates are the same 34 stocks, following our proposed model. Then Vmodel-2 performs the MCDM method on all 34 stocks. Table 32 shows the results by the TOPSIS method ending up with three selected stock options, TSLA, AAPL, MSFT. Then Table 33 shows the selection TSLA, AAPL by ELECTRE with/without veto method as these two conditions produce the same results. PROMETTHEE produces seven selection stocks (as in Table 34) as options based on the same threshold we set in the proposed fusion models. Hence the final selection result is TSLA, AAPL by the MCDM method. Though stock TSLA satisfies the goals set on the first round of risk-related expectation, they reach an undesirable low Standard Consensus value (Table 35), which implies high inconsistent performance between two DMs (Investing.com and YahooFinance). Besides, the ESLT selected by PROMETTHEE gets a negative standard consensus value. In summary, single-processed models such as Vmodel-1 and Vmodel-2 cannot meet the users’ expectations when working alone, and Vmodel- 2 only evaluates the current statistical data and does not consider the hidden trends and risks. Furthermore, the Vmodel-1 with only the data fusion process hands in the selected 13 stocks, which is way too large for a user with a DIY investment goal. That selection results in 13 stocks still makes users confused. Finally, the proposed fusion-based model considers the users’ expectations and can make a practical and reasonable stock selection. Information Fusion 102 (2024) 102018 20 V. Snášel et al. Table 31 Ablation study results of selected stocks by Vmodel-1 of data fusion process. Ticker DM1 DM2 Total score Average St. dev Standard consensus CDW 27.40 27.26 54.66 27.33 0.10 95.02 NVDA 87.99 87.64 175.63 87.81 0.25 87.44 AVGO 64.07 63.46 127.52 63.76 0.43 78.58 TXN 34.93 34.25 69.18 34.59 0.48 75.99 ATVI 23.67 22.86 46.54 23.27 0.57 71.41 AAPL 176.80 175.91 352.71 176.36 0.63 68.31 QCOM 41.65 42.85 84.49 42.25 0.85 57.61 TER 23.30 24.72 48.01 24.01 1.00 49.84 SPNS 4.87 6.37 11.24 5.62 1.07 46.67 MGIC 10.26 11.79 22.04 11.02 1.08 45.88 BRKR 10.07 11.81 21.89 10.94 1.23 38.57 EQIX 27.98 26.19 54.18 27.09 1.26 36.83 MSFT 126.89 125.01 251.90 125.95 1.33 33.71 Total =13 6. Conclusion This paper focuses on the stock selection problem, which has not yet been extensively studied and published. The difficulties of this problem lie in two significant aspects: Dynamic and volatile from public policies; and conflicting criteria of performance ranking. Hence, we proposed a fusion-based model for addressing the stock selection problem, which includes data fusion and decision-level fusion sub-procedures. Data fusion processes the multi-source raw data and acquires a consensus analysis of candidate stocks. In addition, we customized our loss function to obtain a more reliable data forecasting module and combined it with XGBRegressor for stock pricing predictions. As a result, this proposed loss function achieves lower error compared to the baseline value of the standard loss function. Meanwhile, the proposed method reduces the prediction error and the warping path cost by 6.3 percent and 5.6 percent on average, respectively, compared to the standard loss method in a best case with the experimental real-situation data, indicating the effectiveness of the proposed method. Moreover, MCDM techniques are the decision-making support to trade off the conflict criteria. At last, we experimented on an actual life stock from Investing.com and YahooFinance data traded in NASDAQ by the proposed model. The results show that the selected stocks meet the goal and the expectations from the view of the model plan and preference. Furthermore, to justify the practical application of the proposed fusion-based model, we present the ablation studies to verify the necessity of the data-level fusion and the decision-level fusion processes. In summary, our multi-source fusion-based model can provide a top list of the desirable stocks for investment, which overcomes the situation of over-number candidate selection. This Vmodel-1 cannot rank those vague candidates (13 out of 34 stocks), which makes it hard and unfriendly for users. The proposed model is better than the direct MCDM methods for selecting under user expectations. Vmodel-2 does not consider the basic goal/expectation like low-risk and stable requirement, which is unsuitable for a DIY investment. In other words, the data fusion and decision level fusion together make a complete and customized model for a user of DIY investment. Note that the proposed fusion-based model is designed for study purposes for the low-capital and conservative DIY investor. Despite being optimistic about the economy’s long-term prospects, the model performs expectations of investments that provide safety of principal and moderate-income and ignores the stocks with higher fluctuations. The weights of criteria used in this model follow the designer’s expectations, influencing the final decision results. The proposed framework is a study tool. The stock market is risky and influenced not by the environment but by policy. Investment needs to be cautious. 7. Limitation and future works •The proposed framework only considers objective information and data. Sometimes, a stock appreciation relates to the company’s structural adjustment or whether the company can be listed, which is subjective information. •This framework employs a limited number of criteria for stock selection, namely representative criteria from performance and technical analysis data. Changes in amplitudes of criterion values are also indicators worthy of analysis, e.g., dividends (paying out a portion of profits to shareholders). •The proposed framework focuses on price prediction and stock selection without portfolio optimization, a necessary section in portfolio management. Portfolio optimization is optimizing the resource allocation, often requiring interaction with users. •The overall framework is for study purposes and provides complete user control. However, to offer an efficient service with profit, we should refer to the service by stock advisors, such as robo-advisory and Motley Fool. Declaration of competing interest The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper. Data availability Public data, download link is provided in the paper. Acknowledgments The authors gratefully acknowledge financial support ANID Fondecyt 1231122, PIA/PUENTE AFB220003, Chile, DST/ INT/ Czech/ P- 12/ 2019, reg.no. LTAIN19176 by the Czech Republic Ministry of Education, Youth and Sports in the project ‘‘Metaheuristics Framework for Multiobjective Combinatorial Optimization Problems (META MO-COP)’’. Appendix In Section 4.4.2, we provide a simple introduction to MCDM applications; here, we provide the detailed operation steps of PROMETTHEE methods on the experimental data. MCDM application The initial data has 13 rows corresponding to 13 residual stocks and 11 columns corresponding to 11 criteria/features data sources from Investing.com. Three MCDM applications start with the construction of the initial matrix, normalized data matrix, and the determination of the weight of criteria, which is performed in Part-A in Section 4.4.2. Then we apply TOPSIS, ELECTRE, and PROMETTHEE individually. The example application is on PROMETTHEE as follows: PROMETTHEE application Step A.1: PROMETTHEE starts with normalized initial data, done in Section A (Above) with a user’s defined weights 𝑊. Step A.2: Calculate the pairwise evaluative differences between alternatives corresponding to each criterion. Let diff (𝐴𝑘,𝑗 , 𝐴𝓁,𝑗 ) be the difference between alternative 𝐴𝑘and 𝐴𝓁 on criteria 𝑗. Then the difference between all pairs of alternatives will be a matrix data (let us call it diff matrix) with a row size of 𝑛× (𝑛− 1) and column size of 𝑚. More specific, in 𝑛× (𝑛− 1) rows, the first 𝑛− 1 rows corresponds to the difference between 𝐴1to {𝐴2,…, 𝐴𝑛}, the second 𝑛− 1 rows corresponds to the difference between 𝐴2to {𝐴1, 𝐴3,…, 𝐴𝑛}. All the way to the last 𝑛th (𝑛− 1) rows corresponds to Information Fusion 102 (2024) 102018 21 V. Snášel et al. Table 32 Ablation study of the final selection by TOPSIS and intermediate result (closeness). Ticker Market cap Revenue Avg. volume EPS P/E ratio Beta YTD 1 Year 3 Years Weekly Monthly Dplus Dminus Closeness AAPL 2.8E+12 3.8E+11 9.3E+07 6.0 29.0 1.2 −1.8 41.7 259.3 4 4 1.6E+03 2.9E+12 1.0 MSFT 2.3E+12 1.8E+11 3.8E+07 9.4 32.8 0.9 −8.0 27.7 159.6 4 4 5.5E+11 2.3E+12 0.8 TSLA 1.1E+12 5.4E+10 2.7E+07 4.9 219.0 2.1 2.6 63.9 1796.8 4 4 1.8E+12 1.1E+12 0.4 Table 33 Ablation study result by ELECTRE I with/without veto, two experiments produce the same results. Ticker Market cap Revenue Average volume EPS P/E ratio Beta YTD 1 Year 3 Years Weekly Monthly TSLA 1.12E+12 5.38E+10 2.67E+07 4.92 218.95 2.08 2.63 63.90 1796.80 4 4 AAPL 2.84E+12 3.78E+11 9.33E+07 6.02 28.99 1.18 −1.84 41.72 259.33 4 4 Table 34 Ablation study result by PROMETTHEE in ablation study. Ticker Market cap Revenue Average volume EPS P/E ratio Beta YTD 1 Year 3 Years Weekly Monthly TSLA 1.12E+12 5.38E+10 2.67E+07 4.92 218.95 2.08 2.63 63.90 1796.80 4 4 AAPL 2.84E+12 3.78E+11 9.33E+07 6.02 28.99 1.18 −1.84 41.72 259.33 4 4 NVDA 6.69E+11 2.69E+10 5.27E+07 3.85 70.96 1.42 −9.18 93.40 483.87 4 4 MSFT 2.32E+12 1.85E+11 3.76E+07 9.40 32.80 0.90 −8.00 27.67 159.60 4 4 AVGO 2.56E+11 2.85E+10 2.58E+06 17.55 35.87 1.03 −5.78 31.73 106.89 4 4 TXN 1.68E+11 1.83E+10 6.27E+06 8.26 22.20 0.95 −3.39 −5.20 65.11 4 4 ESLT 9.74E+09 5.16E+09 5.18E+04 7.55 29.18 0.79 26.33 52.76 63.33 4 4 Table 35 The expectation view on the selected stocks in ablation study. Expectation DM1 DM2 Total score Average St. dev Standard consensus >0<2>15 TSLA 167.60 164.97 332.57 166.28 1.86 7.13 ESLT 34.60 30.36 64.96 32.48 3.00 −49.95 the difference between 𝐴𝑛to {𝐴1, 𝐴2,…, 𝐴𝑛−1}. At the same time, each row has 𝑚elements corresponding to the difference in specific criteria. The evaluation difference calculation is defined as: 𝑑𝑖𝑓𝑓(𝐴𝑘,𝑗 , 𝐴𝓁,𝑗 ) = 𝑥𝑘𝑗 −𝑥𝓁𝑗 where, annotations please refer to Table 25. Step A.3: Define the preference function and transform the evaluation difference diff data to function value. We use TypeV and TypeI, two preference functions. Then each element in diff data will be transformed by preference function to a value, which constructs a new matrix data 𝑃of the same size of matrix data diff. Two preference functions are defined: 𝑇 𝑦𝑝𝑒𝑉 (𝑑𝑖𝑓𝑓 , 𝑞, 𝑝) = 𝑃𝑗(𝐴𝑘,𝑗 , 𝐴𝓁,𝑗 ) =⎧ ⎪ ⎨ ⎪ ⎩ 0,if 𝑑𝑖𝑓𝑓(𝐴𝑘,𝑗 , 𝐴𝓁,𝑗 )≤𝑞 1,elif 𝑑𝑖𝑓𝑓(𝐴𝑘,𝑗 , 𝐴𝓁,𝑗 )> 𝑝 𝑑𝑖𝑓 𝑓(𝑥)−𝑞 𝑝−𝑞,else {𝑥→(𝐴𝑘,𝑗 , 𝐴𝓁,𝑗 )} and 𝑇 𝑦𝑝𝑒𝐼(𝑑𝑖𝑓𝑓, 𝑞, 𝑝) = 𝑃𝑗(𝐴𝑘,𝑗 , 𝐴𝓁,𝑗 ) = {1,if 𝑑𝑖𝑓𝑓 (𝐴𝑘,𝑗 , 𝐴𝓁,𝑗 )>0 0,else where, in TypeV and TypeI,diff (x) is the evaluations differences between two stocks on specific criteria, such as diff (𝐴𝑘,𝑗 , 𝐴𝓁,𝑗 ); and (𝑞, 𝑝) is defined in Table 36. Step A.4: Calculate the aggregated preference. The aggregated preference is the weighted row summation of matrix data 𝑃, leading to a size of 𝑛× (𝑛− 1) values. The aggregated functions are defined as: 𝜋(𝐴𝑘, 𝐴𝓁) = 𝑚 ∑ 𝑗=1 𝑤𝑗×𝑃𝑗(𝐴𝑘,𝑗 , 𝐴𝓁,𝑗 ) Step A.5: Construct an alternative to an alternative pairwise matrix. The alternative to alternative pairwise matrix 𝐹is a square matrix of size 𝑛×𝑛with 𝑛rows representing alternatives and 𝑛columns of Table 36 Threshold and type information used in PROMETTHEE. (𝑞, 𝑝)Type Market cap (109,1011) TypeV P/E ratio (15,35) TypeV Revenue (108,1010) TypeV Average Vol (107,108) TypeV EPS (1,6) TypeV Beta (0,0.6) TypeV YTD (5,25) TypeV 1 Year (5,45) TypeV 3 Year (10,75) TypeV Weekly (0,1) TypeI Monthly (0,1) TypeI alternatives, where each element of this matrix is given by the value of 𝜋(𝐴𝑘, 𝐴𝓁). Then we assign 𝜋(𝐴𝑘, 𝐴𝑘)a ‘0’ value. Step A.6: Determine the leaving and entering outranking flows. The leaving/entering flow is a calculated value corresponding to each alternative; they are defined as follows: 𝑓(𝐴𝑘)+=1 𝑛− 1 𝑛 ∑ 𝑖=1 𝜋(𝐴𝑘, 𝐴𝑖), 𝑖 ≠𝑘, 𝑙𝑒𝑎𝑣𝑖𝑛𝑔𝑓𝑙𝑜𝑤 𝑓(𝐴𝑘)−=1 𝑛− 1 𝑛 ∑ 𝑖=1 𝜋(𝐴𝑖, 𝐴𝑘), 𝑖 ≠𝑘, 𝑒𝑛𝑡𝑒𝑟𝑖𝑛𝑔𝑓𝑙𝑜𝑤 where the symbols please refer to Table 25. And the leaving flow value of an alternative equals the row summation of 𝐹matrix data on the corresponding alternative. On the contrary, the column summation of 𝐹data contributes to the entering flow of each alternative. Step A.7: Calculate the net outranking flow for each alternative. The net outranking flow is also a value calculated by the leaving and entering flow, as follows: 𝑓(𝐴𝑘) = 𝑓(𝐴𝑘)+−𝑓(𝐴𝑘)− Step A.8: Rank all the alternatives and select the best stocks (alternatives). Rank all the alternatives based on the net outranking flow value 𝑓(𝐴𝑘), corresponding to the rank list of desirable stocks. References [1] Vijay Singal, Beyond The Random Walk: A Guide to Stock Market Anomalies and Low-Risk Investing, Oxford University Press, USA, 2004. Information Fusion 102 (2024) 102018 22 V. Snášel et al. [2] J. Randall Woolridge, Charles C. Snow, Stock market reaction to strategic investment decisions, Strateg. Manag. J. 11 (5) (1990) 353–363. [3] Lyle Wilkinson, DIY Portfolio Management: Do It Yourself! with a Little Independent Work, You Too Can Beat the Returns of Indexes and Mutual Fund Managers, Selact Publishing, 2003. [4] Matthew Partridge, Investing Explained: The Accessible Guide to Building an Investment Portfolio, Kogan Page Publishers, 2022. [5] Dominik Jung, Verena Dorner, Christof Weinhardt, Hakan Pusmaz, Designing a robo-advisor for risk-averse, low-budget consumers, Electron. Mark. 28 (2018) 367–380. [6] Narasimhan Jegadeesh, Yanbin Wu, Closing auctions: Nasdaq versus NYSE, J. Financ. Econ. 143 (3) (2022) 1120–1139. [7] Abbas Mardani, Ahmad Jusoh, Khalil Nor, Zainab Khalifah, Norhayati Zakwan, Alireza Valipour, Multiple criteria decision-making techniques and their applications–a review of the literature from 2000 to 2014, Econ. Res. Ekon. Istraž. 28 (1) (2015) 516–571. [8] Edmundas Kazimieras Zavadskas, Zenonas Turskis, Multiple criteria decision making (MCDM) methods in economics: an overview, Technol. Econ. Dev. Econ. 17 (2) (2011) 397–427. [9] Ankit Thakkar, Kinjal Chaudhari, Fusion in stock market prediction: a decade survey on the necessity, recent developments, and potential future directions, Inf. Fusion 65 (2021) 95–107. [10] Fengmei Yang, Zhiwen Chen, Jingjing Li, Ling Tang, A novel hybrid stock selection method with stock prediction, Appl. Soft Comput. 80 (2019) 820–831. [11] Keywan Christian Rasekhschaffe, Robert C. Jones, Machine learning for stock selection, Financ. Anal. J. 75 (3) (2019) 70–88. [12] Perspectives Equities, Next generation of machine learning-based stock selection models, 2023, https://www.unigestion.com/insight/next-generation-of-machine- learning-based-stock-selection-models/ (accessed Janurary 19, 2023). [13] Jingti Han, Zhipeng Ge, Effect of dimensionality reduction on stock selection with cluster analysis in different market situations, Expert Syst. Appl. 147 (2020) 113226. [14] Yanzheng Ren, Research on short term stock selection strategy based on machine learning, in: 2021 3rd International Conference on Machine Learning, Big Data and Business Intelligence (MLBDBI), IEEE, 2021, pp. 20–23. [15] Emmanouil Platanakis, Andrew Urquhart, Portfolio management with cryptocurrencies: The role of estimation risk, Econom. Lett. 177 (2019) 76–80. [16] Ahmed Jeribi, Mohamed Fakhfekh, Portfolio management and dependence structure between cryptocurrencies and traditional assets: evidence from FIEGARCH-EVT-copula, J. Asset Manag. 22 (3) (2021) 224–239. [17] Javed Iqbal, Aboubakar Mirza, Abid Mehmood, Fariha Ashraf, Stock selection through hidden Markov model: A case of Pakistan stock exchange, Rev. Educ. Adm. Law 5 (4) (2022) 695–714. [18] Zh Buribayev, S Joldasbayev, A Yerkosova, M Zhassuzak, et al., Building a system for predicting the yield of grain crops based on machine learning using the xgbregressor algorithm, in: 2021 IEEE International Conference on Smart Information Systems and Technologies (SIST), IEEE, 2021, pp. 1–5. [19] Tianqi Chen, Carlos Guestrin, Xgboost: A scalable tree boosting system, in: Proceedings of the 22nd Acm Sigkdd International Conference on Knowledge Discovery and Data Mining, 2016, pp. 785–794. [20] Donald J. Berndt, James Clifford, Using dynamic time warping to find patterns in time series, in: KDD Workshop, Vol. 10, Seattle, WA, USA, 1994, pp. 359–370. [21] Sabaithip Boonpeng, Piyasak Jeatrakul, Decision support system for investing in stock market by using OAA-neural network, in: 2016 Eighth International Conference on Advanced Computational Intelligence (ICACI), IEEE, 2016, pp. 1–6. [22] Wen-Shiung Lee, Gwo-Hshiung Tzeng, Jyh-Liang Guan, Kuo-Ting Chien, Juan- Ming Huang, Combined MCDM techniques for exploring stock selection based on Gordon model, Expert Syst. Appl. 36 (3) (2009) 6421–6430. [23] Ahmad Makui, Emran Mohammadi, et al., A MCDM-based approach using UTASTAR method to discover behavioral aspects in stock selection problem, Int. J. Ind. Eng. Prod. Res. 30 (1) (2019) 93–103. [24] Hing Kai Chan, Xuting Sun, Sai-Ho Chung, When should fuzzy analytic hierarchy process be used instead of analytic hierarchy process? Decis. Support Syst. 125 (2019) 113114. [25] Marija Vuković, Snježana Pivac, Zoran Babić, Comparative analysis of stock selection using a hybrid MCDM approach and modern portfolio theory, Croat. Rev. Econ. Bus. Soc. Stat. 6 (2) (2020) 58–68. [26] Dev Gupta, Akanksha Parikh, Tapan Kumar Datta, A multi-criteria decisionmaking approach to rank the sectoral stock indices of national stock exchange of India based on their performances, Natl. Account. Rev. 3 (3) (2021) 272–292. [27] Yelda Ayrim, Kumru Didem Atalay, Gülin Feryal Can, A new stochastic MCDM approach based on COPRAS, Int. J. Inf. Technol. Decis. Mak. 17 (03) (2018) 857–882. [28] Ignacy Kaliszewski, Dmitry Podkopaev, Simple additive weighting—A metamodel for multiple criteria decision analysis methods, Expert Syst. Appl. 54 (2016) 155–161. [29] Philip Sedgwick, Spearman’s rank correlation coefficient, Bmj 349 (2014). [30] Phi-Hung Nguyen, Jung-Fa Tsai, Venkata Ajay KUMAR G, Yi-Chung Hu, Stock investment of agriculture companies in the Vietnam stock exchange market: An AHP integrated with GRA-TOPSIS-MOORA approaches, J. Asian Finance Econ. Bus. 7 (7) (2020) 113–121. [31] Hasan Dincer, Profit-based stock selection approach in banking sector using fuzzy AHP and MOORA method, Glob. Bus. Econ. Res. J. 4 (2) (2015) 1–26. [32] Jinesh Jain, Nidhi Walia, Sanjay Gupta, Kriti Aggarwal, Simarjeet Singh, A fuzzy analytical hierarchy process framework for stock selection in the Indian stock market, J. Public Aff. (2021) e2710. [33] Pedram Ghamisi, Behnood Rasti, Naoto Yokoya, Qunming Wang, Bernhard Hofle, Lorenzo Bruzzone, Francesca Bovolo, Mingmin Chi, Katharina Anders, Richard Gloaguen, et al., Multisource and multitemporal data fusion in remote sensing: A comprehensive review of the state of the art, IEEE Geosci. Remote Sens. Mag. 7 (1) (2019) 6–39. [34] Pavel Krömer, Jana Nowaková, Guided genetic algorithm for information diffusion problems, in: 2018 IEEE Congress on Evolutionary Computation (CEC), IEEE, 2018, pp. 1–8. [35] Gourav Kumar, Sanjeev Jain, Uday Pratap Singh, Stock market forecasting using computational intelligence: A survey, Arch. Comput. Methods Eng. 28 (3) (2021) 1069–1101. [36] Zexin Hu, Yiqi Zhao, Matloob Khushi, A survey of forex and stock price prediction using deep learning, Appl. Syst. Innov. 4 (1) (2021) 9. [37] Pengfei Yu, Xuesong Yan, Stock price prediction based on deep neural networks, Neural Comput. Appl. 32 (6) (2020) 1609–1628. [38] Haider Maqsood, Irfan Mehmood, Muazzam Maqsood, Muhammad Yasir, Sitara Afzal, Farhan Aadil, Mahmoud Mohamed Selim, Khan Muhammad, A local and global event sentiment based efficient stock exchange forecasting using deep learning, Int. J. Inf. Manage. 50 (2020) 432–451. [39] Jithin Eapen, Doina Bein, Abhishek Verma, Novel deep learning model with CNN and bi-directional LSTM for improved stock market index prediction, in: 2019 IEEE 9th Annual Computing and Communication Workshop and Conference (CCWC), IEEE, 2019, pp. 0264–0270. [40] Sreelekshmy Selvin, R Vinayakumar, EA Gopalakrishnan, Vijay Krishna Menon, KP Soman, Stock price prediction using LSTM, RNN and CNN-sliding window model, in: 2017 International Conference on Advances in Computing, Communications and Informatics (Icacci), IEEE, 2017, pp. 1643–1647. [41] Kyung Keun Yun, Sang Won Yoon, Daehan Won, Prediction of stock price direction using a hybrid GA-xgboost algorithm with a three-stage feature engineering process, Expert Syst. Appl. 186 (2021) 115716. [42] Mohammad Almasarweh, Sadam Alwadi, ARIMA model in predicting banking stock market data, Mod. Appl. Sci. 12 (11) (2018) 309. [43] D Sathish Kumar, BC Thiruvarangan, A Vishnu, A Sangeerani Devi, D Kavitha, et al., Analysis and prediction of stock price using hybridization of sarima and xgboost, in: 2022 International Conference on Communication, Computing and Internet of Things (IC3IoT), IEEE, 2022, pp. 1–4. [44] João Nobre, Rui Ferreira Neves, Combining principal component analysis, discrete wavelet transform and xgboost to trade in the financial markets, Expert Syst. Appl. 125 (2019) 181–194. [45] Agustinus Bimo Gumelar, Haryati Setyorini, Derry Pramono Adi, Sengguruh Nilowardono, Agung Widodo, Achmad Teguh Wibowo, MY Teguh Sulistyono, Evy Christine, et al., Boosting the accuracy of stock market prediction using xgboost and long short-term memory, in: 2020 International Seminar on Application for Technology of Information and Communication (ISemantic), IEEE, 2020, pp. 609–613. [46] Casper Solheim Bojer, Jens Peder Meldgaard, Kaggle forecasting competitions: An overlooked learning opportunity, Int. J. Forecast. 37 (2) (2021) 587–603. [47] Suryoday Basak, Saibal Kar, Snehanshu Saha, Luckyson Khaidem, Sudeepa Roy Dey, Predicting the direction of stock market prices using tree-based classifiers, North Am. J. Econ. Finance 47 (2019) 552–567. [48] Zhuangwei Shi, Yang Hu, Guangliang Mo, Jian Wu, Attention-based CNN-LSTM and xgboost hybrid model for stock prediction, 2022, arXiv preprint arXiv: 2204.02623. [49] Tammy Jiang, Jaimie L. Gradus, Anthony J. Rosellini, Supervised machine learning: a brief primer, Behav. Ther. 51 (5) (2020) 675–687. [50] Sotiris B. Kotsiantis, Decision trees: a recent overview, Artif. Intell. Rev. 39 (4) (2013) 261–283. [51] Alexey Natekin, Alois Knoll, Gradient boosting machines, a tutorial, Front. Neurorobot. 7 (2013) 21. [52] Hailin Li, Time works well: Dynamic time warping based on time weighting for time series data mining, Inform. Sci. 547 (2021) 592–608. [53] Pierpaolo D’Urso, Livia De Giovanni, Riccardo Massari, Trimmed fuzzy clustering of financial time series based on dynamic time warping, Ann. Oper. Res. 299 (1) (2021) 1379–1395. [54] Zheng Zhang, Romain Tavenard, Adeline Bailly, Xiaotong Tang, Ping Tang, Thomas Corpetti, Dynamic time warping under limited warping path length, Inform. Sci. 393 (2017) 91–107. [55] Marion Morel, Catherine Achard, Richard Kulpa, Séverine Dubuisson, Timeseries averaging using constrained dynamic time warping with tolerance, Pattern Recognit. 74 (2018) 77–89. Information Fusion 102 (2024) 102018 23 V. Snášel et al. [56] Matthieu Herrmann, Geoffrey I. Webb, Early abandoning and pruning for elastic distances including dynamic time warping, Data Min. Knowl. Discov. 35 (6) (2021) 2577–2601. [57] Xingyu Cai, Tingyang Xu, Jinfeng Yi, Junzhou Huang, Sanguthevar Rajasekaran, Dtwnet: a dynamic time warping network, in: Advances in Neural Information Processing Systems, Vol. 32, 2019. [58] Brecht Laperre, Jorge Amaya, Giovanni Lapenta, Dynamic time warping as a new evaluation for dst forecast with machine learning, Front. Astron. Space Sci. (2020) 39. [59] Lukas Ehrig, Daniel Atzberger, Benjamin Hagedorn, Jan Klimke, Jürgen Döllner, Customizable asymmetric loss functions for machine learning-based predictive maintenance, in: 2020 8th International Conference on Condition Monitoring and Diagnosis (CMD), IEEE, 2020, pp. 250–253. [60] Thanh Ngoc Tran, Dang Thi Phuc, et al., Grid search of multilayer perceptron based on the walk-forward validation methodology, Int. J. Electr. Comput. Eng. 11 (2) (2021) 1742. [61] Veniamin Smirnov, Dimitri Volchenkov, Five years of phase space dynamics of the standard & poor’s 500, Appl. Math. Nonlinear Sci. 4 (1) (2019) 209–222. [62] Kim Ehab Shelbaya Ali, Fundamental Analysis and Relative Valuation Multiples: A Determination of Value Drivers and Development of a Value Model for The US and UK Markets (Ph.D. thesis), University of Portsmouth, Accounting and Financial Management, 2014. [63] Olivier David Zerbib, A sustainable capital asset pricing model (s-CAPM): Evidence from green investing and sin stock exclusion, in: Proceedings of Paris December 2020 Finance Meeting EUROFIDAI-ESSEC, 2020. [64] Pablo Fernandez, Mar Martinez, Isabel Fernández Acín, Market risk premium and risk-free rate used for 69 countries in 2019: A survey, 2019, Available at SSRN 3358901. [65] Pham Hoang Vuong, Trinh Tan Dat, Tieu Khoi Mai, Pham Hoang Uyen, et al., Stock-price forecasting based on xgboost and LSTM, Comput. Syst. Sci. Eng. 40 (1) (2022) 237–246. [66] Parshv Chhajer, Manan Shah, Ameya Kshirsagar, The applications of artificial neural networks, support vector machines, and long–short term memory for stock market prediction, Decis. Anal. J. 2 (2022) 100015. [67] B.V. Vishwas, Ashish Patel, B.V. Vishwas, Ashish Patel, Smoothing methods, in: Hands-on Time Series Analysis with Python: From Basics to Bleeding Edge Techniques, Springer, 2020, pp. 65–97. [68] Garuda Mesran, Suginam Ginting, Robbi Rahim, Implementation of elimination and choice expressing reality (ELECTRE) method in selecting the best lecturer (case study STMIK BUDI DARMA), Int. J. Eng. Res. Technol. (IJERT) 6 (2017). [69] Laila Oubahman, Szabolcs Duleba, Review of PROMETHEE method in transportation, Prod. Eng. Arch. 27 (2021).