1. Introduction
Simply put, cloud computing is the delivery of computing services over the internet. It has become the backbone of modern IT infrastructure. Cloud computing is an evolutionary technology that has transformed a large part of the IT industry [
1]. It estimates that 67% of enterprise IT infrastructure and software spending will be for cloud-based offerings by 2020 [
2]. According to National Institute of Standards and Technology (NIST), cloud computing is “a model for enabling ubiquitous, convenient, on-demand network access to a shared pool of configurable computing resources (e.g., networks, servers, storage, applications, and services) that can be rapidly provisioned and released with minimal management effort or service provider interaction” [
3].
Cloud computing approaches the dream of computing as a utility by offering hardware and software as services. With virtualization technologies, cloud computing can provide an “infinite” amount of computing resources on demand, which is unprecedented in IT history. Cloud computing adopts the “pay-as-you-go” model. It allows users to pay for the use of computing resources on a short-term basis and release them when they are no longer used. As it eliminates large upfront expenses in hardware and expensive labor costs for maintenance, cloud computing is beneficial to small- and medium-sized enterprises, as well as large-sized enterprises. Compared with other models, cloud computing is easier to access and use, cost-efficient, and environmentally sustainable [
4].
Serverless computing has gained significant attention in industry and academia over the past 5 years [
5]. It is a new cloud computing paradigm that is going to be the “next big thing” of the next decade [
2]. It is emerging as a compelling paradigm for the deployment of cloud applications as enterprise application architectures shift to containers and microservices. Serverless computing provides a simplified programming model for creating cloud applications that eliminate most operational concerns. Developers can focus on the business aspects of their applications and no longer have to worry about availability, scalability, fault tolerance, over/underprovisioning, and other issues. In fact, serverless computing provides the cloud provider additional control over optimizing resources.
As cloud computing adoption becomes mainstream, the cloud services market offers vast profits. According to International Data Corporation (IDC), the worldwide public cloud services market grew 29.0% to a total revenue of USD 408.6 billion in 2021 [
6]. Also, Gartner forecasts that the worldwide end-user spending on public cloud services will grow 20.4% to total USD 494.7 billion in 2022 and reach nearly USD 600 billion in 2023 [
7]. Moreover, serverless computing with enormous economic growth potential is gaining popularity. Major cloud providers, including Amazon, Microsoft, Google, IBM, and others, have released serverless computing capabilities. As a result, investing in cloud computing is still promising and profitable.
To capitalize on the cloud, investors are interested in trading cloud stocks. In this paper, we loosely define cloud computing stocks (or cloud stocks) as IT companies that deliver cloud services over the internet and have shares traded in the financial market. The term refers to IT companies as a whole, not the specific cloud unit, as most of them do not spin off it. However, as is the case with high-growth stocks, investing in cloud stocks will have bumps on the road. The research problem of the paper is to study how a trading strategy will perform on cloud stocks, which are more volatile than others. The goal of the paper is to propose a trading strategy for cloud stocks. According to Treleaven, Galas, and Lalchand (2013), algorithmic trading is growing rapidly and is a fascinating research area. It refers to any form of trading using sophisticated algorithms to automate all or some part of the trade cycle. Inspired by their paper, we present an algorithmic trading strategy for cloud stocks.
This paper makes three contributions. First of all, it proposes an effective method, i.e., Simple Moving Average (SMA), for trading cloud stocks. It is the first paper to study a trading strategy for cloud stocks. We will develop more sophisticated algorithms based on this work in the future. Second, it adopts comprehensive statistical measures, including prediction errors, percentage errors, and goodness of fit, to systematically evaluate the approach. Third, it conducts extensive experiments on real market data over two decades and provides practical advice on how to set the parameters, i.e., the size of the sliding window and the length of time horizon.
The rest of the paper is organized as follows:
Section 2 presents the techno-economic background. It first reviews the motivation and economics of cloud computing and serverless computing. Then, it examines the technical and economic aspects of financial technologies and algorithmic trading.
Section 3 introduces algorithmic trading strategies. It first discusses common trading strategies. After that, it proposes an SMA approach for trading cloud stocks.
Section 4 reports the experimental results. It first describes the experimental setup and evaluation metrics. Then, it reports experimental results and research findings.
Section 4 concludes the paper. It first summarizes the research findings. After that, it mentions the limitations and discusses some future work.
2. Techno-Economic Background and Related Work
This section provides some background for cloud computing and financial technologies. Armbrust et al. (2010) argue that the key enabler of cloud computing is large data centers with hundreds or thousands of machines located at low-cost places. Because of economies of scale, cloud computing can reduce the cost of electricity, hardware, software, network bandwidth, and operations by a factor of five to seven, compared with traditional data centers. As a result, cloud computing can offer computing services below the cost of small- or medium-sized data centers yet still make a good profit. Cloud computing adopts the usage-based pricing model. It allows an organization to pay for computing resources by the hour and can lead to cost savings. Also, the absence of upfront capital expense in cloud computing allows for an enterprise to redirect capital to core business investments.
A newcomer—serverless computing—emerged with characteristics that are different from those of established cloud models [
5]. It provides early adopters with further cost reductions, reduced operation effort, and scalability. The projected Compound Annual Growth Rate (CAGR) varies between 21% and 28% through 2028, and the projected market value is USD 36.8 billion by that time [
8]. Serverless computing with enormous economic growth potential will drive cloud computing in the next decade [
2]. However, serverless is a vague term in the ICT industry. It is used inaccurately to refer to less caring about servers. According to Castro, Ishakian, Muthusamy, and Slominski (2019), serverless computing is “a platform that hides server usage from developers and runs code on-demand automatically scaled and billed only for the time the code is running”. In other words, in serverless computing, developers do not need to worry about low-level details of server management and scaling and only pay for the execution time, not for idle servers, when processing requests or events.
As the focus is shifted from servers to applications, cloud computing enters its emerging second phase [
9]. In the first phase, which is called serverful computing, system administration was simplified in managing computing infrastructure through virtualized servers. In the second phase, which is called serverless computing, cloud development is simplified by providing programming abstractions for developers through hiding servers. For example, programmers can define cloud functions and then specify how the functions should run. The second phase will change the way programmers work, just as the first phase changed how operators work. It should be noted that, in serverless computing, remote servers are still the invisible bedrock.
Financial technology (FinTech) is one of the disruptive innovations in IT and finance [
10,
11]. FinTech will reshape how the financial services industry structures and provisions. It has a transformative impact on financial sectors, including banking, insurance, investments, securities, etc. Globally, about 50% of financial consumers use at least one FinTech application. FinTech nurtures new business models, products, and services. FinTech aims to improve the efficiency of the financial services industry through modern IT. Artificial Intelligence (AI), machine learning, big data, cloud computing, blockchain, and cybersecurity, etc., play different roles in FinTech. Among them, AI, big data, and blockchain are considered three core technologies.
As one of the financial technologies, algorithmic trading (or algo trading for short) uses computer programs to make trading decisions [
12]. Algo trading is widely used by investment banks and funds [
13]. It is data-driven and involves learning, dynamic planning, reasoning, and decision-making. A trading process consists of five stages: data access and cleaning (financial, economic, news/social data), pre-trade analysis (data analysis), trading-signal generation (what and when to trade), trade execution (how to trade), and post-trade analysis (trade analysis). It should be noted that not all five stages are automated now. Computers are mainly used in the first two stages, while humans still supervise the last three stages. A recent survey on AI, machine learning (ML), and associated algorithms in capital markets can be found in Koshiyama, Firoozye, and Treleaven (2020) [
14] where their computational strengths and weaknesses, as well as their impact on the capital markets, are discussed. As for trading strategies, momentum and reversal are well-known predictors of future market returns [
15]. However, each has its pros and cons. This paper focuses on momentum as it deals with short-term prediction.
In view of its importance, top academic journals and conferences either dedicate special sections and tracks on FinTech or publish regular papers on it [
16,
17]. For example, leading experts in finance and information systems launched a call for papers on FinTech in a special section of Information Systems Research in 2017 [
18]. Also, a top conference in computer science, International Joint Conference on Artificial Intelligence, published a special track on AI in FinTech in 2020 [
19]. Still, leading academic institutions established new programs or units to train future FinTech professionals [
20]. For instance, New York University initiated a FinTech specialization under its MBA programs in 2017. Queen’s University at Kingston launched Canada’s first Master’s program of Financial Innovation and Technology in 2020. As high-growth technology stocks, investing in cloud stocks is both rewarding and challenging. However, to the best of our knowledge, no research is devoted to studying a trading strategy for cloud stocks. As a result, this paper is motivated to fill this research gap.
5. Conclusions and Future Work
This section summarizes the paper and discusses some future work. After a decade of rapid growth, cloud computing has become the backbone of modern IT infrastructure. Once considered a hyped term, cloud computing is everywhere today. It has been used in many types of applications, including email services, photo storing sites, online backup, file transfer applications, etc. As cloud computing adoption becomes mainstream, the cloud services market offers vast profits. Also, serverless computing with enormous economic growth potential is becoming popular and will drive cloud computing in the next decade. As a result, investing in cloud computing is still promising and profitable.
As is the case with high-growth stocks, investing in cloud stocks will have bumps on the road. It is not clear how a trading strategy will perform on cloud stocks. So, this paper proposes an SMA approach to trade cloud stocks. To evaluate its effectiveness, we conduct extensive experiments on two cloud stocks with real market data. Results show that SMA can achieve satisfying performance, in terms of prediction errors and goodness of fit. In addition, we provide practical advice on how to set the parameters and choose the metrics. First, a small and appropriate sliding window is preferred if one desires a more accurate model. Second, a reasonable time horizon is chosen to keep the prediction errors and the percentage errors at an acceptable level. Third, RMSE is preferred if one desires a less volatile model.
However, it should be noted that this study has three limitations. First, the two stocks used in the experiments are not pure cloud stocks. In fact, the companies that issue the two stocks involve cloud computing and other businesses. It is difficult, if not impossible, to determine how much cloud computing contributes to their stock price. It could be improved by choosing a Cloud Computing ETF, which has a broader range of cloud stocks. Second, the time horizon of the test set is quite short. In fact, the test set only contains daily close price data of the two stocks from the first half of 2022. As a result, we conjecture that it could negatively impact the performance of SMA. It could be improved by extending the evaluation period to a longer time horizon. Third, as a technical indicator, SMA relies on historical data, and so it tends to lag the market. It could be enhanced by integrating with sentiment analysis through analyzing news information. In the future, first, we will enhance SMA by incorporating generative AI and compare it with other trading strategies. More specifically, we will leverage Large Language Models (LLMs) to conduct sentiment analysis on news information, which is quite effective in our preliminary research, and integrate it with technical analysis to enhance SMA. Second, we will consider statistical significance tests and the effect sizes. Third, we will try to tune the parameters when possible. Fourth, we will consider coding trading rules and risk management as well. In addition, we will consider sensitivity analysis to determine the effect that changes in market conditions have on the approach.
In conclusion, cloud computing and serverless computing in particular will continue to grow and remain as investment opportunities for technology investors. Financial technologies and algorithmic trading in particular will play an important role in investment decision-making. SMA is an effective approach for trading cloud stocks. It performs quite well in terms of MAE, RMSE, and R-squared. In the future, we will enhance SMA with generative AI and use it to trade emerging technology stocks.