Abstract
Quantitative investment theory has emerged as a prominent and widely researched domain within the financial markets, where investors predominantly focus on discerning the intricate influences of market dynamics. In this paper, we proposed a short-term prediction-based trading strategy, which can equiponderate between return and risk, considerations while accounting for investor risk preferences. This strategy employs GM(1,1) to capture nuanced features of price dynamics in short-term intervals and update the GM(1,1) model with the latest data. Subsequently, a multi-objective planning equation is formulated to optimize asset allocations by determining the optimal holding that strikes between specific returns and risk mitigation. In the end, this work conducts a case study and sensitivity analysis using five years of gold and bitcoin price data spanning from 2016 to 2021. This empirical examination serves to affirm the efficacy and resilience of the proposed trading strategy. The case study reveals that proficient short-term price forecasting serves as a potent means to proactively mitigate risk, facilitating, judicious and objective trading practices. Moreover, it underscores the strategy’s tangible utility as a guide for real-world investment decisions.
Introduction
Each country’s influence on investor enthusiasm has become increasingly important, as every national financial sector aims to encourage investor participation in financial activities [1–4], different strategies for different topics often lead to different results [5, 6]. In recent years, portfolio optimization and quantitative investment have emerged as crucial research fields in the financial market. With the rapid transformation of financial markets and advancements in computational technology, quantitative trading has become a widely discussed topic among investors. Quantitative trading, a strategy solely on computer algorithms, involves automated buy/sell decisions. Presently, quantitative strategies have gained broad acceptance within the investment community [7].
The core of quantitative trading decisions is the diversification of asset allocation, and the reallocation of financial resources is and fundamental principle affecting investment strategies [8]. A series of trading strategy methods originated from the Mean-Variance Model proposed by Markowitz [9], which aims to identify an optimal portfolio by considering a set of selectable asset combinations. It strives to strike a balance between returns and risks to achieve the most favorable equilibrium. In 1964, William Sharpe and John Lintner introduced the Capital Asset Pricing Model (CAPM) [10], which elucidates the relationship between risk and expected asset returns in the securities markets. The model postulates the existence of an efficient frontier, enabling investment portfolios to attain maximum returns with minimal risk. In 1976, Ross proposed the Arbitrage Pricing Theory(APT) as a model for the market’s equilibrium state [11]. Ross posited that asset returns are influenced by multiple factors, which he condensed into a comprehensive model. According to this theory, asset returns can be determined by various factors, offering investors an alternative approach to assessing the relationship between asset returns and multiple factors. The introduction of these aforementioned classic models laid the foundation for both theoretical research and practical application of quantitative trading.
Predicting stock prices has consistently remained a vital prerequisite in the realm of the stock market, as the availability of highly accurate prediction strategies can significantly enhance investor confidence. In recent years, a plethora of studies have harnessed the power of neural networks to showcase their remarkable fitting ability when employed on diverse time series data [12–14]. However, it is worth noting that neural networks typically rely on a significant number of parameters, which can result in challenges such as overfitting, slower inference speed, and potential parameter instability. These factors may limit their effectiveness in capturing the inherent characteristics of price data. In contrast, traditional machine learning algorithms often exhibit better performance in capturing the intrinsic patterns within the data itself. Grey system theory [15] is an effective approach that specifically focuses on predicting the data itself. In recent years, several studies have utilized grey system theory for predictive purposes, Faghih Mohammadi Jalali employed a first-order grey model to predict the price changes of Bitcoin, providing evidence that the grey system is capable of capturing short-term price fluctuations influenced by uncertain factors [16]. Lei introduced a novel grey forecasting model called the neural ordinary differential grey model (NODGM), specifically designed to forecast China’s crude oil consumption. This model demonstrated promising results in predicting crude oil consumption patterns [17]. Norouzi utilized the grey forecasting model to predict OPEC crude oil prices and showcased its strong applicability in this context, providing compelling evidence supporting the effectiveness and practicality of the grey forecasting model [18].
In this paper, we employ GM(1,1) as an effective forecasting model that is capable of generating efficient and reliable short-term forecasts, even when working with limited sample data and inherent uncertainty. Building upon these forecasts, we utilize a moving average strategy [19] to guide decision-making processes i.e. a buy/sell signal is issued. For trading, additionally, we employ a multi-objective planning equation to assess return and risk, thereby determining the position of each asset. To evaluate the feasibility and robustness of our proposed model, we conduct extensive simulations and perform sensitivity analysis. In conclusion, this paper conducts an example analysis focusing on the gold and Bitcoin markets from 2016 to 2021. Gold and Bitcoin are selected as representative monetary assets [20], representing robust low-risk and lot return and high-risk and high-volatility and high-return investment assets respectively [16, 21]. By examining these two assets together, we can gain a better understanding of the predictive performance and robustness of our proposed model. Furthermore, this study takes into account transaction costs during the trading process and addresses the issue of discontinuous gold trading days. By considering these real-world factors, the model aligns more closely with actual investment scenarios and provides valuable insights for guiding real investment behaviors.
The structure of the rest of this paper is as follows: In Section. Related Work, we present an overview of related works in the field. In Section. Methods, we describe the construction of the trading model. Moving on to Section. Case Study, we validate the performance of the model by applying it to datasets encompassing gold and Bitcoin. Finally, in Section. Conclusion, we summarize our findings and provide an outline for future directions within this comprehensive paper.
Related work
Trading strategy
Some traditional trading methods, such as [9–11] laid the basic idea of trading strategies in financial markets. Now recent researchers emphasize the use of machine learning or deep learning methods to better describe the financial market to obtain more effective market information. Kerenidis proposed a quantum algorithm for portfolio optimization, which determines the optimal risk-return and enables the extraction of the extraction optimal portfolio [22]. Ta [23] employed an LSTM (Long Short Term Memory) network to predict stock prices, complemented by various portfolio optimization techniques to enhance portfolio performance. Chunchun utilizes CNN (Convolutional neural networks) to extract more effective features from raw data for quantitative financial investment [24].
Grey system approaches have proven to be advantageous in handling sequences within markets, this is because the grey system can effectively capture the uncertainty in the financial market. Sing has introduced a novel grep prediction system for forecasting the value of various cryptocurrencies [25]. Ramezani utilized grey relational analysis to randomly select stocks from different industries listed on the Tehran Stock Exchange, this study focused on dynamic portfolio selection and its experimental implementation [26]. Trading in financial markets is similar to a game process, some trading strategies [27–30] based on deep reinforcement learning have been proposed and proven effective. In this work, we only use simple and effective MA [9] trading methods, to prove the effectiveness of our methods.
Prediction model
Trading models rely on the accuracy of prediction models. Using models with high accuracy can greatly enhance investor confidence and help investors make decisions. Some works use neural networks for prediction. Moghar uses LSTM to build a model that can predict feature stock prices [12]. By considering the distinct characteristics exhibited by various sequences, the appropriate prediction model was meticulously constructed, encompassing the simulation of individual components. Xinrong noted that the performance ability of LSTM and CNN on stock predicting tasks, to further enhance predictive capabilities, Xinrong proposed a novel approach that combines the strengths of LSTM and CNN models [14].
The grey prediction model leverages the cumulative form of system parameters to establish rules for short-term prediction, demonstrating promising performance across diverse prediction tasks [25, 31–33]. Grey prediction models are often integrated with various other applications, Tianxiang introduced a multi-step prediction model by leveraging the combination of LSTM and GM(1,1) techniques [13]. Tang presents a novel approach to monthly electric load forecasting using a seasonal index based on grey model optimization [34]. [35] proposed a new hybrid model named FGM(1,1), which combines the grey model with fractional order accumulation, seasonal factors, Sine Cosine Algorithm (SCA) optimization, and error correction to improve prediction performance.
Methods
Grey theory and GM(1,1) model
Grey System Theory was proposed by Prof. Deng [15], grey system theory can mitigate the challenges posed by limited sample datasets by effectively capturing the developmental process of uncertain phenomena [36–38]. Grey predictive modeling is a prediction method based on incomplete information and a small sample dataset, which is widely used in finance, energy, materials, and other forecasting applications [25, 33, 36, 38–42]. In this paper, we use GM(1,1) as a short-term prediction model. GM(1,1) can be divided into three types: GM(1,1), new information GM(1,1), and metabolism GM(1,1).
GM(1,1) model
Generate an accumulation sequence from the original sequence, construct a differential equation, and derive the basic form of the GM(1,1).
| (1) |
Where −α is the development index, and b is the grey trigger value.
Estimate the parameters using OSL (Ordinary Least Squares) and substitute the obtained a, b into the model, resulting in the final estimate.
| (2) |
Evaluate the expression above using accumulation and reduction, and produce the grey prediction of the original sequence x(0), as illustrated follow,
| (3) |
Variant of GM(1,1)
The Accuracy of GM(1,1) forecasting hinges on data distribution. Recent data is considered more influential, with new information having a significant impact. However, historical data can dampen responsiveness, causing delayed response, poor tracking, and lower accuracy. To address this problem, two GM(1,1) variants have emerged, “new information GM(1,1)” and the “metabolism GM(1,1)”. Both models attribute increased importance to recent data and perpetually update the original price sequence to incorporate incoming information. Notably, the “metabolism GM(1,1)” updates self-state, by discarding past data, thereby ensuring the model maintains a current and adaptive state, thereby enhancing its aptitude for capturing evolving trends and accommodating dynamic information dynamics.
Three GM(1,1) models have been employed to forecast future price movements, which are subsequently assessed in comparison to the current period’s data. The model exhibiting the lowest Mean Squared Error(MSE) value is selected as the predictive model for the forthcoming period’s data. Fig 1 visually presents the outcomes of fitting these three GM(1,1) models to the original datasets.
Fig 1. Three variants of GM(1,1) fit the original data represent original data, denote GM(1,1), denote new information GM(1,1), and × denotes metabolism GM(1,1).
(a): Gold, (b): Bitcoin.
GM(1,1) prediction process
Initially, we introduce the concept of a designated “windows period” for the original data. This choice is driven by the necessity within the GM(1,1) model framework to accumulate a sufficient amount of data for the attainment of efficient predictions, in this paper, the window periods are set to 4. Then this iterative process of updating the GM(1,1) model with daily refresh price data will be currently performed, facilitating the model’s continuous adapt to the dynamic market conditions. The model shall recalibrate using the updated data series, thereby yielding forthcoming near-term predictions, typically spanning three periods. A schematic illustration of this iterative procedure is shown in Fig 2.
Fig 2. The GM(1,1) model is employed to forecast future price trends.
(a): Gold, (b): Bitcoin.
Fig 2 offers an insightful graphical representation of the original data trend along with the predicted curve trend, with the predictive curve impeccably mirroring the trajectory of the actual data. In terms of computational, the mean relative residuals for gold and Bitcoin amounted to 1.28% and 2.81%, respectively, indicating that the predictions are highly accurate compared to the actual data.
Result and numerical study
The Mean Absolute Percentage Error (MAPE) stands as one of the most widely employed metrics for assessing forecast accuracy. Given its unitless nature, MAPE can provide valuable insights into the magnitude of forecasting errors, making it a versatile tool for error evaluation [16, 43, 44]. Its calculation is as follows,
| (4) |
Where N is number of data, At denotes tth data, Ft denotes tth prediction data.
The GM(1,1) models achieved a commendable level of accuracy for pre, in numerical terms, the MAPE for gold is 0.48%, and for Bitcoin stands at 2.14% when considering all the examined periods. underscoring their robust performance in forecasting price movements for these assets. Table 1 displays the predicted and actual values for both gold and Bitcoin during the partial periods.
Table 1. Partial prediction result for both gold and bitcoin.
| Current | Gold(PM) | Bitcoin($) | ||
|---|---|---|---|---|
| Periods | Prediction | Actually | Prediction | Actually |
| 1 | 1659.600 | 1659.600 | 49922.520 | 49922.520 |
| 2 | 1700.907 | 1683.650 | 47239.734 | 46736.580 |
| 3 | 1671.922 | 1672.500 | 45412.005 | 46441.640 |
| 4 | 1643.430 | 1655.700 | 43654.992 | 43596.240 |
| 5 | 1615.424 | 1653.750 | 41965.959 | 42912.190 |
| 6 | 1587.895 | 1570.700 | 40342.275 | 36964.270 |
| 7 | 1560.835 | 1562.800 | 38781.412 | 40784.320 |
| 8 | 1534.236 | 1487.700 | 37280.940 | 37280.350 |
| 9 | 1508.091 | 1536.200 | - | - |
| Prediction | Gold(PM) | Bitcoin($) | ||
| 1 | 1482.391 | 1498.200 | 35838.522 | 37528.300 |
| 2 | 1450.933 | 1474.250 | 34230.464 | 34754.540 |
| 3 | 1421.313 | 1494.400 | 33137.130 | 38728.590 |
Trading strategy based on price dynamics
Trading strategy
This paper employs a classical trading strategy. Known as Moving Average Theory (abbreviated as MA). The Moving Average Theory can be traced back to the work of Shiller in 1980, who observed that asset prices tend to revert to their mean values over extended time intervals [19]. Currently, the Moving Average Theory has evolved into a well-established framework and is utilized to represent the average stock price average, calculation see Eq 5.
| (5) |
Where MA denotes the current price’s average line, N represents the number of calculation periods, and CN denotes the price observed on the Nth day.
The MA strategy under consideration comprises both short-term and long-term moving averages (MA). The short-term MA is used to capture the immediate price behavior, typically reflecting market fluctuations over a brief temporal interval. Conversely, the long-term MA encapsulates the more protracted price trends, offering insights into the average transaction costs sustained over a more extended timeframe. Historically, prior research has underscored the notion that once a market trend takes shape, it tends to persist over a defined period. Specifically, when the short-term MA intersects with the long-term MA, it signifies that the recent uptrend in prices surpasses the long-term average trend. This occurrence is interpreted as a buy signal, suggesting a prospective price increase in the feature. Conversely, when the short-term MA crosses below the long-term MA, it indicates an impending price decrease, indicating a sell signal.
Multi-objective planning equation
In real-world problem-solving scenarios, the need arises to contemplate not solely the optimal resolution for a single objective but also the situations where multiple objective values necessitate simultaneous optimization [8, 45]. Particularly in the realm of practical investments, investors face the imperative of striking a delicate equilibrium between maximizing returns and mitigating risks. Consequently, this paper endeavors to address the intricate interplay between these dual objective investment portfolio models. This model seeks to attain a balance of limited profit and minimizing risk, while also accommodating the investor’s risk preference level.
Objective function. Within the realm of financial markets, the fundamental aim of investors resides in the pursuit of asset appreciation while simultaneously endeavoring to mitigate trading risks. In light of this point, this paper endeavors to formulate a multi-objective optimization model that harmonizes the dual imperatives of maximizing returns. Consequently, a positive objective is to aptly steer the model towards the attainment of enhanced returns. The formulation is as follows.
| (6) |
Where h0 denotes the amount of cash held, pt denotes the tth dally price, and hj denotes the holdings of gold and Bitcoin, respectively (j = 1, 2).
In the trading process, investors are prudent to seek the minimization of risk to the fullest extent. However, if investors opt to maintain their holdings solely in cash within the market, the risk is decreased to its nadir, while this strategy will result in an absence or returns on their investments. Such an outcome, conspicuously incongruous with the fundamental tenet of profitability, fundamentally contravenes the investors’ original intent. Generally, investors consistently aspire to strike a balance between returns and risk. Consequently, an additional optimization objective is introduced, focusing on the management of the number of holdings for each asset to effectively mitigate risk. The objective function at risk minimization is as follows,
| (7) |
Where hj represents the holdings of gold and Bitcoin, respectively. pt denotes current day price, signifies risk factor, which measures the risk level of gold and Bitcoin over a window period. In this paper, the variance is used to calculate this value, for example, if the price of Bitcoin is more volatile over a period of time, then the risk factor weights are larger. This parameter is automatically calculated by the model in programming.
For the multi-objective planning equation, in the research, there are two common treatments for the objective function, which are weighted optimization and staged optimization [46]. In this paper our focus lies on the utilization of weighted optimization, we use weighted optimization, which is uniformly converted to a max problem, and after weighted treatment, we get the final objective function as shown in Eq 8
| (8) |
In this paper, it is assumed that the variable μ represents the weighting coefficient, which quantifies the trade-off between gains and losses. The value of μ falls within the interval [0, 1]. Moreover, this parameter serves as an indicator of investors’ risk preferences. Specifically, when μ assumes smaller values (like 0.1), it signifies a diminishing emphasis on return targets and greater consideration of risk reduction, characterizing a more conservative investor profile. In this paper, we assume that investors exhibit a balanced profile thus μ is set as 0.5.
Constraint condition. In this paper, we control transaction volume through the application of a planning equation. This equation plays a pivotal role in ascertaining the profitability of each transaction, considering both the elements of risk and return, while also factoring in the transaction commission i.e., transaction costs. Transactions are only executed when anticipated benefits from the current trade exceed the transaction costs. In essence, trades are conducted only when the model perceives the current time interval as being profitable. Furthermore, the model prohibits short selling, meaning it is not possible to acquire assets beyond the current total asset value. And the holding of the three asset types must remain non-negative, in accordance with real-world constraints. To summarize, the constraint conditions for the multi-objective planning model are as follows:
| (9) |
where, xi represents transaction volume for gold and Bitcoin, respectively. denotes average value from GM(1,1) prediction. αj represents the transaction commission ratio for gold and Bitcoin, respectively, representing the transaction costs.
Notably, we mentioned that the trading day is not consistent in the gold market, the price of gold on a non-trading day remains static, and due to the existence of transaction costs, the model does not perceive such situations as profitable and would not transaction in the gold market, which solves the problem of inconsistent trading days.
Case study
Why choice gold and bitcoin
Decision-making constitutes a primary concern for both leaders and investors [3, 47]. Investors exhibit a dedicated commitment to the meticulous examination of the intricate interplay between conventional and emerging digital assets [48]. Investors, in pursuit of rational asset allocation, endeavor to optimize their portfolios, and they achieve this by employing hedging instruments that provide a relatively robust foundation [49]. Some empirical investigations [49, 50] have found that gold and Bitcoin exhibit a non-linear link with low correlation, making gold and Bitcoin a diversified pair of hedging assets in a portfolio. In the case study, we use gold and Bitcoin as the research objects.
Within the realm of precious metals, gold stands as reverence and prestige. The gold market is subject to the dynamics of speculation and volatility due to its growing storage value and fields of use [42, 51]. Cryptocurrency is a decentralized digital currency [52], that relies on a decentralized blockchain-based transaction system [50, 53]. It empowers users to securely and anonymously transfer and store value within the network. Presently, Bitcoin stands as a global frontrunner among cryptocurrencies.
In the section on empirical analysis, this paper defines three different asset types: Cash, Gold, and Bitcoin. Assuming the initial capital is $1000, the initial state is set as [1000, 0, 0], which is the starting state of the program simulation. In addition, the model also considers fees in transactions. The transaction fee for Gold is assumed to be 1% of the transaction amount, and for Bitcoin, it is 2%. Each transaction should deduct the cost at the time of the transaction, and only the profit obtained should be considered. If there is no transaction fee, the model will continue to conduct transactions, which is not realistic. At the same time, this paper also discusses the trading days of Gold in the multi-objective optimization model, which makes the trading model more realistic.
Data description
In this work, the research foundation is established upon the daily trading prices of both gold and Bitcoin markets during the periods spanning from 2016 to 2021. The gold data originates from the London Bullion Market Association (LBMA), a globally recognized and authoritative entity within the sphere of precious metal valuation agencies. Specifically, we procure the daily closing price of one ounce of gold denominated in USD from the official LBMA website. While the Bitcoin price data is sourced from the website https://data.nasdaq.com/data/BCHAIN/MKPRU-bitcoin-market-price-usd. This website offers a user-friendly interface for an intuitive display of daily Bitcoin prices and provides the capability to download entire datasets for comprehensive analysis.
It should be noted that gold trades on specific trading days, while Bitcoin can be traded almost continuously.
The quasi-exponential testing of data
From the original data series, the application of GM(1,1) is limited to data series adhering to the quasi-exponential law. The smoothness ratio of the initial sequence x(0) is defined as Eq 10
| (10) |
Where k represents the kth period data, for ∀k, ρ(k) ∈ [a, b] and interval length δ = b − a < 0.5, then the cumulated data exhibits characteristics indicative of a quasi-exponential law.
In practical computations, it suffices to ascertain that over 80% of the data points possess a smoothing ratio of less than 0.5 to conclude that the cumulative data adheres to the quasi-exponential law and can be used with the GM(1,1) model.
Fig 3 demonstrates that starting from the third period of data, both the gold and Bitcoin data sequences exhibit a smoothing ratio consistently below 0.5. moreover, the proportion of periods with a smoothing ratio below 0.5 exceeds 80%. Consequently, the data sequence has successfully passed the quasi-exponential test, thereby affirming their suitability for modeling using the grey prediction model.
Fig 3. Quasi-exponential testing of data series.
(a): Gold, (b): Bitcoin.
Model simulation
Utilizing the GM(1,1) model, the price sequence data is cumulated, yielding a first-order accumulated sequence. Parameters are estimated based on Eq 1, and these estimations are subsequently substituted into Eq 2 to derive the accumulated data for forthcoming periods. Subsequently, the data is de-cumulated employing Eq 3 to derive predicted data for feature periods. This process employs three distinct GM(1,1) models in Section. Variant of GM(1,1), and the model with the lowest MSE is chosen for forecasting future data points. Upon the arrival of re-fresh price data, the model is updated to adapt to this fresh information. This iterative approach leads to the fitted data displayed in Fig 4.
Fig 4. Efforts in fitting gold and bitcoin price data.
(a): Gold, (b): Bitcoin.
As depicted in Fig 4 both gold and Bitcoin exhibit a parallel trend in line with actual data fluctuations. However, the models’ performance in capturing intricacies in Bitcoin’s behavior during periods of pronounced volatility falls short. To mitigate the risk of overfitting and curb excessive trading, the model intentionally incorporates incomplete fitting strategies in regions characterized by significant volatility.
The process commences with the derivation of price fitting data through the GM(1,1) model in Section. Grey Theory and GM(1,1) Model. Subsequently, trading determinations are executed by employing the moving average strategy outlined in Section. Trading Strategy. Following this, a planning equation that effectively balances return and risk with a dual-factor consideration is employed to gauge risk and return levels. Ultimately, the entire trading procedure is visualized using Python.
The full trading process for both gold and Bitcoin is shown in Fig 5. Gold displays a generally upward trajectory, particularly during the period from 2018 to 2020, as several countries began to view gold as a strategic reserve, leading to increased demand and subsequent price rises. In contrast, Bitcoin exhibits a gradual uptrend, albeit with periods of heightened volatility. Notably, around May 2021, Bitcoin achieved a peak price of $64,544.44 before experiencing a decline. Remarkably, the model not trading on Bitcoin even after identifying its downtrend, opting instead to continue exploring opportunities in the gold market.
Fig 5. The trading process for both gold and bitcoin.
Where represents a buy signal, denotes a sell signal. (a): Gold, (b): Bitcoin.
As shown in Fig 6. After the completion of the model simulation, the total value of held currency assets is $52,466.65. Starting with an initial capital of only $1000, these assets have grown to approximately 5.2 times the initial investment over approximately five years, with an annualized return rate of 11.10%. This demonstrates the feasibility of the short-term price prediction model developed in this study. If traders were to invest more initial capital and employ more detailed trading strategies, even more remarkable returns could be achieved.
Fig 6. Total asset value dynamics with an initial cash reserve of $1000.
Sensitivity analysis
The aforementioned paragraph underscores the incorporation of practical trading considerations into this case study. Specifically, transaction costs accompany every transaction and a variant of assets with different costs. These varying transaction costs may exert distinct influences on the model’s results, to demonstrate the robustness of the model, this work embarks on a sensitivity analysis of transaction costs.
| (11) |
Explore the impacts of different fee rates on the total asset value and the frequency of transactions for both gold and Bitcoin, the result is shown in Fig 7.
Fig 7. The impact of fees on total asset value, and transaction times.
(a): impact of different fees on total asset value, (b): the impact of different fees on the transaction times.
Fig 7 illustrates the effect of varying transaction fees on the total asset value and transaction times. It can be soon that when the fee rate increases by 0.01, the model’s final asset worth is roughly $22,000, accompanied by transaction times drop, from 46 to 38 times for gold and from 31 to 17 times for Bitcoin. On the other hand, when the fee rate decreases by 0.05, the profitability of the model increases significantly. The total asset worth obtained from the simulation is approximately $110,000 which is a 90.7% increase in profitability compared to the original total value and is accompanied by a transaction times incrassation, from 46 to 52 times for gold and from 31 to 42 times for Bitcoin.
The whole process can be depicted as follows. The increase in the fee rate per trade rises, resulting in fewer profit opportunities, and the model becomes cautious and therefore reduces the transaction times. However, despite the increase in transaction costs, the trading strategies are still able to identify profit opportunities to increase the total asset worth. Meanwhile, Fig 7 shows that as fee rates ascend, there is a concomitant decline in the number of trades executed for both gold and bitcoin, with bitcoin exhibiting a more pronounced reduction. This observation can be attributed to Bitcoin’s heightened volatility and overall risk profile, prompting the model to reallocate investments toward a more stable asset, such as gold. Conversely, in scenarios marked by descending fee rates, transaction costs diminish, profit opportunities expand, and the model can effectuate a more diversified asset portfolio with increased adjustments, culminating in an augmented volume of trades. Ultimately, this leads to investors realizing nearly twice the returns in environments characterized by lower transaction costs.
Conclusion
Interest inefficient investment techniques have been fast expanding among investors in financial markets, both individual and corporate stakeholders. Investors seek optimal trading strategies that can enhance the efficiency and dependability of their trade executions. Previous research has concentrated on complicated stock indicators and constructed an intricate model, which exhibits reduced sensitivity to short-term price volatility and often exhibits limitations in terms of capital adjustment flexibility and the ability to facilitate swift decision-making. Therefore, this work proposes a trading strategy based on short-term price dynamics, which employed GM(1,1) to capture price dynamics in short-term intervals, and a multi-objective planning equation is formulated to optimize asset allocations, taking into account both return and risk factors. In the case study, we conducted a comprehensive evaluation of the model’s efficacy within the gold and Bitcoin markets, spanning from 2016 to 2021. The results revealed that the GM(1,1) model consistently demonstrated a high level of forecasting performance in financial markets, with MAPE of 0.48% for gold and 2.14% for Bitcoin our trading strategies effectively identified anticipated returns and associated risks while successfully capitalizing on profitable opportunities to optimize the allocation of diverse assets, culminating in a total asset valuation of $52,466.65. Furthermore, we incorporated real-world transaction costs into our analysis, meticulously examining the influence of commission rates on the total asset value and the transaction times. This meticulous consideration underscores the robustness of our model, rendering it not only empirically robust but also highly instructive for practical applications in real-world financial contexts.
Feature work will focus on improving the design of trading strategies and exploring more efficient trading methods, and through these efforts, we aim to further enhance the performance and reliability of the model.
Data Availability
To ensure the availability of the dataset, we have uploaded data files including Gold and Bictoin on GitHub. The links are as follows: https://github.com/WakingHours-GitHub/Gold_Bitcoin_datas.
Funding Statement
We appreciate the financial support of the National Social Science Foundation of China (Grant No. 23BJY191) and the Reform and Develop High-Level Talent Projects in Local Universities Supported by the Central Government (Grant No. 2020GSP13). We appreciate the financial support of the Natural Science Foundation of Heilongjiang Province (Grant no. JJ2021LH1530). The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.
References
- 1. Abbass K, Song H, Khan F, Begum H, Asif M. Fresh insight through the VAR approach to investigate the effects of fiscal policy on environmental pollution in Pakistan;29(16):23001–23014. doi: 10.1007/s11356-021-17438-x [DOI] [PubMed] [Google Scholar]
- 2. Amjad A, Abbass K, Hussain Y, Khan F, Sadiq S. Effects of the green supply chain management practices on firm performance and sustainable development;29(44):66622–66639. doi: 10.1007/s11356-022-19954-w [DOI] [PubMed] [Google Scholar]
- 3. Bai S, He H, Ge M, Yang R, Luo D, Bi X. Large-Scale Group Decision-Making Model with Cooperative Behavior Based on Social Network Analysis considering Propagation of Decision-Makers’ Preference;2022:e2842601. doi: 10.1155/2022/2842601 [DOI] [Google Scholar]
- 4. Abbass K, Song H, Mushtaq Z, Khan F. Does technology innovation matter for environmental pollution? Testing the pollution halo/haven hypothesis for Asian countries;29(59):89753–89771. doi: 10.1007/s11356-022-21929-w [DOI] [PubMed] [Google Scholar]
- 5. Bai S, He H, Han C, Yang M, Yu D, Bi X, et al. Exploring thematic influences on theme park visitors’ satisfaction: An empirical study on Disneyland China;n/a. doi: 10.1002/cb.2157 [DOI] [Google Scholar]
- 6. Bai S, He H, Han C, Yang M, Bi X, Fan W. What makes a theme park experience less enjoyable? Evidence from online customer reviews of Disneyland China;14. doi: 10.3389/fpsyg.2023.1120483 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7.Eti S. The Use of Quantitative Methods in Investment Decisions. In: Research Anthology on Personal Finance and Improving Financial Literacy. IGI GLOBAL;. p. 1–20. Available from: https://www.sciencegate.app/document/10.4018/978-1-7998-8049-3.ch001.
- 8. Abbass K, Sharif A, Song H, Ali MT, Khan F, Amin N. Do geopolitical oil price risk, global macroeconomic fundamentals relate Islamic and conventional stock market? Empirical evidence from QARDL approach;77:102730. doi: 10.1016/j.resourpol.2022.102730 [DOI] [Google Scholar]
- 9. Markowitz H. Portfolio Selection*;7(1):77–91. doi: 10.1111/j.1540-6261.1952.tb01525.x [DOI] [Google Scholar]
- 10. Sharpe WF. Capital Asset Prices: A Theory of Market Equilibrium Under Conditions of Risk*;19(3):425–442. doi: 10.1111/j.1540-6261.1964.tb02865.x [DOI] [Google Scholar]
- 11. Galai D, Masulis RW. The option pricing model and the risk factor of stock;3(1):53–81. doi: 10.1016/0304-405X(76)90020-9 [DOI] [Google Scholar]
- 12. Moghar A, Hamiche M. Stock Market Prediction Using LSTM Recurrent Neural Network;170:1168–1173. doi: 10.1016/j.procs.2020.03.049 [DOI] [Google Scholar]
- 13. Yao T, Wang Z. Crude oil price prediction based on LSTM network and GM (1,1) model;11(1):80–94. doi: 10.1108/GS-03-2020-0031 [DOI] [Google Scholar]
- 14.Zhou X. Stock Price Prediction using Combined LSTM-CNN Model. In: 2021 3rd International Conference on Machine Learning, Big Data and Business Intelligence (MLBDBI);. p. 67–71.
- 15. Ju-Long D. Control problems of grey systems;1(5):288–294. doi: 10.1016/S0167-6911(82)80025-X [DOI] [Google Scholar]
- 16. Faghih Mohammadi Jalali M, Heidari H. Predicting changes in Bitcoin price using grey system theory;6(1):13. doi: 10.1186/s40854-020-0174-9 [DOI] [Google Scholar]
- 17. Lei D, Wu K, Zhang L, Li W, Liu Q. Neural ordinary differential grey model and its applications;177:114923. [Google Scholar]
- 18. Norouzi N, Fani M. Black gold falls, black plague arise—An Opec crude oil price forecast using a gray prediction model;5:100015. doi: 10.1016/j.upstre.2020.100015 [DOI] [Google Scholar]
- 19.Shiller RJ. Do Stock Prices Move Too Much to be Justified by Subsequent Changes in Dividends?;. Available from: https://www.nber.org/papers/w0456.
- 20. Lei J, Lin Q. Analysis of gold and bitcoin price prediction based on LSTM model;5:95–100. [Google Scholar]
- 21.Nanthiya D, Gopal SB, Balakumar S, Harisankar M, Midhun SP. Gold Price Prediction using ARIMA model. In: 2023 2nd International Conference on Vision Towards Emerging Trends in Communication and Networking Technologies (ViTECoN);. p. 1–6.
- 22.Kerenidis I, Prakash A, Szilágyi D. Quantum Algorithms for Portfolio Optimization;. Available from: http://arxiv.org/abs/1908.08040.
- 23.Applied Sciences | Free Full-Text | Portfolio Optimization-Based Stock Prediction Using Long-Short Term Memory Network in Quantitative Trading;. Available from: https://www.mdpi.com/2076-3417/10/2/437.
- 24. Chen C, Zhang P, Liu Y, Liu J. Financial quantitative investment using convolutional neural network and deep learning technology;390:384–390. [Google Scholar]
- 25. Singh PK, Pandey AK, Bose SC. A new grey system approach to forecast closing price of Bitcoin, Bionic, Cardano, Dogecoin, Ethereum, XRP Cryptocurrencies;57(3):2429–2446. doi: 10.1007/s11135-022-01463-0 [DOI] [Google Scholar]
- 26. Ramezani N, Mokhatab F. Using grey relational analysis for dynamic portfolio selection in Tehran Stock Exchange;14:31–39. [Google Scholar]
- 27. Wu X, Chen H, Wang J, Troiano L, Loia V, Fujita H. Adaptive stock trading strategies with deep reinforcement learning methods;538:142–158. doi: 10.1016/j.ins.2020.05.066 [DOI] [Google Scholar]
- 28. Park H, Sim MK, Choi DG. An intelligent financial portfolio trading strategy using deep Q-learning;158:113573. doi: 10.1016/j.eswa.2020.113573 [DOI] [Google Scholar]
- 29. Li Y, Ni P, Chang V. Application of deep reinforcement learning in stock trading strategies and stock forecasting;102(6):1305–1322. doi: 10.1007/s00607-019-00773-w [DOI] [Google Scholar]
- 30. Day MY, Yang CY, Ni Y. Portfolio dynamic trading strategies using deep reinforcement learning. doi: 10.1007/s00500-023-08973-5 [DOI] [Google Scholar]
- 31. Zhang X, Bao J, Xu S, Wang Y, Wang S. Prediction of China’s Grain Consumption from the Perspective of Sustainable Development—Based on GM(1,1) Model;14(17):10792. doi: 10.3390/su141710792 [DOI] [Google Scholar]
- 32. Saxena A. Optimized Fractional Overhead Power Term Polynomial Grey Model (OFOPGM) for market clearing price prediction;214:108800. doi: 10.1016/j.epsr.2022.108800 [DOI] [Google Scholar]
- 33. Du X, Wu D, Yan Y. Prediction of electricity consumption based on GM(1,Nr) model in Jiangsu province, China;262:125439. doi: 10.1016/j.energy.2022.125439 [DOI] [Google Scholar]
- 34. Tang T, Jiang W, Zhang H, Nie J, Xiong Z, Wu X, et al. GM(1,1) based improved seasonal index model for monthly electricity consumption forecasting;252:124041. doi: 10.1016/j.energy.2022.124041 [DOI] [Google Scholar]
- 35. Du P, Guo J, Sun S, Wang S, Wu J. A novel two-stage seasonal grey model for residential electricity consumption forecasting;258:124664. doi: 10.1016/j.energy.2022.124664 [DOI] [Google Scholar]
- 36. Duan H, Liu Y. Research on a grey prediction model based on energy prices and its applications;162:107729. doi: 10.1016/j.cie.2021.107729 [DOI] [Google Scholar]
- 37. Liu S, Forrest J, Yang Y. A brief introduction to grey systems theory;2(2):89–104. doi: 10.1108/20439371211260081 [DOI] [Google Scholar]
- 38. Rathnayaka RMKT, Seneviratna DMKN, Jianguo W. Grey system based novel approach for stock market forecasting;5(2):178–193. doi: 10.1108/GS-04-2015-0014 [DOI] [Google Scholar]
- 39. Wang Q, Song X. Forecasting China’s oil consumption: A comparison of novel nonlinear-dynamic grey model (GM), linear GM, nonlinear GM and metabolism GM;183:160–171. doi: 10.1016/j.energy.2019.06.139 36595268 [DOI] [Google Scholar]
- 40. Li H, Liu Y, Luo X, Duan H. A novel nonlinear multivariable Verhulst grey prediction model: A case study of oil consumption forecasting in China;8:3424–3436. doi: 10.1016/j.egyr.2022.02.149 35878006 [DOI] [Google Scholar]
- 41. Zhang L, Wei X. Prediction of variable amplitude fatigue crack growth life based on modified grey model;133:105939. doi: 10.1016/j.engfailanal.2021.105939 [DOI] [Google Scholar]
- 42. Manickam A, Indrakala S, Kumar P. A Novel Mathematical Study on the Predictions of Volatile Price of Gold Using Grey Models; p. 270–285. doi: 10.37256/cm.4220232389 [DOI] [Google Scholar]
- 43. Christodoulos C, Michalakelis C, Varoutas D. On the combination of exponential smoothing and diffusion forecasts: An application to broadband diffusion in the OECD area;78(1):163–170. doi: 10.1016/j.techfore.2010.08.007 [DOI] [Google Scholar]
- 44. Makridakis S, Hibon M, Moser C. Accuracy of Forecasting: An Empirical Investigation;142(2):97–145. doi: 10.2307/2345077 [DOI] [Google Scholar]
- 45. Gunantara N. A review of multi-objective optimization: Methods and its applications;5(1):1502242. doi: 10.1080/23311916.2018.1502242 [DOI] [Google Scholar]
- 46. Arbolino R, Boffardi R, De Simone L, Ioppolo G. Multi-objective optimization technique: A novel approach in tourism sustainability planning;285:112016. doi: 10.1016/j.jenvman.2021.112016 [DOI] [PubMed] [Google Scholar]
- 47. Bai S, He H, Luo D, Ge M, Yang R, Bi X. A Large-Scale Group Decision-Making Consensus Model considering the Experts’ Adjustment Willingness Based on the Interactive Weights’ Determination;2022:e2691804. doi: 10.1155/2022/2691804 [DOI] [Google Scholar]
- 48. Bianchi D. Cryptocurrencies As an Asset Class? An Empirical Assessment;23(2):162–179. doi: 10.3905/jai.2020.1.105 [DOI] [Google Scholar]
- 49. Baur D, Lucey B. Is Gold a Hedge or a Safe Haven? An Analysis of Stocks, Bonds and Gold;45(2):217–229. 6173248 [Google Scholar]
- 50. Kyriazis NA. Is Bitcoin Similar to Gold? An Integrated Overview of Empirical Findings;13(5):88. doi: 10.3390/jrfm13050088 [DOI] [Google Scholar]
- 51.Manjula KA, Karthikeyan P. Gold Price Prediction using Ensemble based Machine Learning Techniques. In: 2019 3rd International Conference on Trends in Electronics and Informatics (ICOEI);. p. 1360–1364.
- 52. Vries Ad. Bitcoin’s Growing Energy Problem;2(5):801–805. doi: 10.1016/j.joule.2018.04.016 [DOI] [Google Scholar]
- 53. Chuen DLK, Guo L, Wang Y. Cryptocurrency: A New Investment Opportunity?;20(3):16–40. doi: 10.3905/jai.2018.20.3.016 [DOI] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Data Availability Statement
To ensure the availability of the dataset, we have uploaded data files including Gold and Bictoin on GitHub. The links are as follows: https://github.com/WakingHours-GitHub/Gold_Bitcoin_datas.







