Forecasting of Global Market Prices of Major Financial Instruments

One of the easiest and fastest ways of building a healthy financial future is investing in the global market. However, the prices of the global market are highly volatile due to the impact of economic crises.'erefore, future prediction and comparison lead traders to make the low-risk decisions with price. 'e present study is based on time series modelling to forecast the daily close price values of financial instruments in the global market.'e forecasting models were tested with two sample sizes, namely, 5-year close price values for correlation analysis and 3-year close price values for model building from 2013 January to 2018 January.'e forecasting capabilities were compared for both ARIMA and GARCH class models, namely, TGARCH, APARCH, and EGARCH. 'e bestfitting model was selected based on the minimum value of the Akaike information criterion (AIC) and Bayesian information criteria (BIC). Finally, the comparison was carried out between ARIMA and GARCH class models using the measurement of forecast errors, based on the Root Mean Square Deviation (RMSE), Mean Absolute Error (MAE), and Mean absolute percentage error (MAPE).'eGARCHmodel was the best-fittedmodel for Australian Dollar, Feeder cattle, and Coffee.'eAPARCHmodel provides the best out-of-sample performance for Corn and Crude Oil. EGARCH and TGARCH were the better-fitted models for Gold and Treasury bond, respectively. GARCH class models were selected as the better models for forecasting than the ARIMA model for daily close price values in global financial market instruments.


Introduction
Recently, there are different methods for investing capital, for instance, investing in gold, investing in foreign currency, current savings, and fix deposits, when compared to the past [1]. In the past, a lot of people were interested to save money in commercial banks for making small interests [2].
In the modern world, lots of investors do not like to save capital in their savings accounts. ey are interested in investing money in the global markets to get the maximum returns [2].
Investing in the global market is a simple and speedy method of building a stronger financial investment. e global economic markets are flattering increasingly systematic, and because of this, the competition between computable and traditional investors is warming up and developing modern research, models, and strategies to forecast asset prices. e consignments of knowledge accessible and computers greedy to analyze it are exceptional. Data, technology, and mathematics are now at the spearhead of a financial coup [1].
Presently, the mass investors worldwide started investing grand funds from their capitals. e motivation for investing in the global market is to gain return straightly. irty years ago, many companies worldwide mastered exceptional extension and invested mass funds from their capital. It is a durable outlay for companies and individuals. e number of listed companies in the global market has been increased continuously. e universal extension of the market prices and trade volume rates has been modified with hugely unstable oscillations [2]. Investment trading is dominated by several economic circumstances and components. ese constituents are influenced by trading intramural and global trading. Sometimes, the market is unstable with enormous oscillations. Variation of the market variance over time is the volatility, and this changes from hugely high and low prices [3,4]. e time series usage in volatile research in finance and econometrics is not limited to approximation matters, statistical abstractions, and pattern identification. Predominantly, portfolio selection, options trading, and risk management matters in trading have been sort out by these findings. Financial experts and business analysts are interested in taking solutions in an unpredictable situation, so they extremely center of attention to the volatility because it works as a debatable measurement. Recent trading markets are more comparable and desegregated because of globalization growth and technology evolution. e instruction encroachment from each market is strengthening as a result of these evolutions. Experimental works are activated in reactions to these expansions, and guidance communication implements were considered. e discoverers of that study path aimed at the returns sluice consequence between futures and its futures fundamental currency trades over trading's [5,6].
Pattern recognition and predicting markets are commonly used in financial trading to estimate the futures market and commodity market. e major mission of financial predicting is to forecast the returns of trading benefits or prominent fluctuations. ere are various methods to build models for factors that are affecting trading markets using historical data such as applying recent systems, combining statistical and mathematical hypotheses with economics, and materializing artificial-intelligence techniques. Besides, an association between the futures and futures fundamental currency trading was designated, and primary rates are mainly influenced by the futures prices. Moreover, experimental results illustrate the remarkable telesales relation with regards to pricing facts communication [1]. e motivation in this study is that, in the global market, the prices of instruments are highly fluctuating within a small period. So, uncertainty is high. Since there are uncertain unpredictable fluctuations, there is a high risk. Identifying the factors affecting price changes can predict the habits of price variations. e common computations for forecast cannot used to the global market forecasting because of uncertainty. ese global market financial instruments have different returns. erefore, it should fit separate forecasting models for each financial instrument. Identification of the future forecasts and their behavior can drive to the risk minimization. e global market financial sector has 51 futures instruments in 8 main sectors. ese main sectors are Currencies (CME), Agriculture (CBOT), Energies (NYMEX), Index, Metals, Interest Rates (CBOT), Softs (ICE), and Meats. e currencies sector has 10 futures instruments, the Agriculture sector has 8 futures instruments, the Energies sector has 8 futures instruments, the Index sector has 6 futures instruments, the Metals sector has 6 futures instruments, the Interest Rates sector has 5 futures instruments, the Softs sector has 5 futures instruments, and the Meat sector has 3 futures instruments. e main motivation of this work is to forecast the global market prices of major financial instruments using Autoregressive Integrated Moving Average (ARIMA), Generalized Autoregressive Conditional Heteroscedasticity (GARCH), reshold GARCH (TGARCH), Asymmetric Power ARCH (APARCH), and exponential GARCH (EGARCH) models and recognize the relationship between each market [7]. Here, we test the forecasting models with two sample sizes, namely, 5-year daily close price values for correlation analysis and 3-year daily close price values for model building for the past 5-year period from 2013 January to 2018 January. In the beginning, we test the correlations between these 51 major financial instruments to check their behaviors and their relationships. To check the correlations, we used daily close values for the 5-years period from 2013 January to 2018 January. After checking the relationships between markets, we select a few financial instruments and, then, move to build models to predict their futures.
Various types of statistical methods have been dominantly used to discuss the results. ey are correlation analysis, descriptive statistical techniques, and time series analysis. ese models will be used to build the model and to predict the future market properties. e best model was selected using the lowest AIC and BIC. en, the out-ofsample, 30-day close price forecast was obtained and compared to the actual close price. en, we calculate the error values for both ARIMA and GARCH family models.
e best model will be identified using accuracy measures, namely, the Root Mean Square Error (RMSE), Mean Absolute Error (MAE), and Mean absolute percentage error (MAPE).

Materials and Methods
Historical daily close price values for 7 financial instruments extracted from TradeStation WebAPI (https://www. tradestation.com/platforms-and-tools/web-api/), which is a portal that enables the use of third-party trading applications to access TradeStation's real-time and historical market data, fast order-execution capabilities, and account and position information, were used in this study. e variables, symbols, and their related sectors are shown in Table 1. Open price, low price, high price, and close price were the four elements of the data. e close price reflects all the activities of the index on a trading day. Hence, the close price was chosen to represent the price of the index to predict.
First, the preliminary analysis was carried out to understand the patterns and trends of the data. Secondly, the graphical presentation was used to identify the distribution of the markets among each price value. 5-year daily close price values were used for correlation analysis, and 3-year daily close price values were used for model building for the past 5-year period from 2013 January to 2018 January. For one instrument, 1263 observations were used for correlation analysis and 595 observations were used for model building.
e correlations between those 51 major financial instruments were tested to check their behaviors and their relationships. High correlations between instruments from the same sectors have appeared. erefore, one instrument was selected from each sector for further analysis. en, ARIMA and GARCH models were fitted using past 3-year data, and 30-day future close price values were predicted using fitted models. e best model is identified using the minimum Akaike Information Criterion (AIC) value.

ARIMA Model.
Time series data consists of two basics parts, namely, identifiable pattern, and random noise (error).
ere are different models in time series including autoregressive (AR), moving average (MA), autoregressive moving average (ARMA), and autoregressive integrated moving average (ARIMA). However, the most commonly used model is the Box-Jenkins ARIMA model that has been successfully applied in economic time series prediction [8]. Moreover, the seasonal time series data have seasonal ARIMA models which are also known as SARIMA. e ARIMA(p,d,q) model is given by the following equation: is the MA operator of order q, δ is the constant term, and a t is the shock element at time t [9, 10].

GARCH Model.
e standardized residuals can be used for model checking. If the model fits well, the standardized residuals of the GARCH models that fitted to the residuals of ARIMA model data should be plotted. e GARCH model is known as a model of heteroscedasticity, which means it is not constant in variance. e GARCH model is written as the GARCH(q,p) model where q is the number of moving average (MA) terms and p is the number of autoregressive (AR) terms. e GARCH(q,p) model can be represented by the following equation: where μ t is the mean or constant term, h t is the conditional variance, h t− i is the past conditional variance, ε 2 t− i is the past squared residual return, and

APARCH Model.
e Asymmetric Power ARCH (APARCH) model [14] is as follows: where . ., p. α and c recognize the good and bad effects.

EGARCH.
Nelson [15] proposed that exponential GARCH (EGARCH) can be given as e optimal forecasting model was formed by choosing the combination of the forecasting model's input parameters.
en, the 30-day close price forecast values were compared with the actual close price values. e error values for both models were calculated using the Root Mean Square Deviation (RMSE), Mean Absolute Error (MAE), and Mean Absolute Percentage Error (MAPE). e model which has the lowest MAPE and lowest RMSE values was selected as the best model out of these two models.
To find the best forecasting model for the data, a comparison between fitted ARIMA and GARCH family models was performed using the following steps: (1) It is investigated whether the process is stationary and its variance does not change over time (2) In case that the data were not stationary, they must be converted to stationary ones by taking the log or the difference transformation (3) en, the ACF, PACF, and EACF were checked for model identification (4) en, the best model was built, which has the lowest AIC (5) Diagnostic checking for the best model was conducted by verifying the normality of the residuals using the QQ-norm plot and running the Ljung-Box tests [16] (6) Finally, the results of the models (ARIMA and GARCH family) were compared through a criterion such as AIC and BIC, and the forecasting performance was tested using RMSE, MASE, and MAE criteria [17,18]  In summary, ARIMA and linear GARCH class models with three nonlinear GARCH family models, namely, TGARCH, APARCH, and TGARCH, were used to identify the model and forecast the daily close price values. e difference between forecasting GARCH family and ARIMA models was the behavior of the prediction intervals. In times of high volatility, prediction intervals using a GARCH class model widened to consider the higher amount of uncertainty. Similarly, the prediction intervals were narrow in times of lower volatility. Figure 1 shows the global market sectors and their correlation groups. ere is a strong correlation between the same sectors than the different markets. erefore, for the analysis, one futures instrument from one financial sector was selected to get more accurate and unbiased results about the global market. e normality test was applied for data mentioned in Table 1, and all variables were nonnormal. e daily close price data were taken for all financial instruments in the global market during the 3 years from 2015 January to 2018 January. Table 2 shows the descriptive statistics of daily close price values for eight financial instruments from January 2015 to January 2018. e Minimum value, 1st Quartile, Median, Mean, 2nd Quartile, 3rd Quartile, and Maximum value were checked for selected 8 futures instruments. e contract sizes vary from those of financial instruments. Hence, the relationship between instruments cannot be compared.

Results and Discussion
According to the summary statistics in Table 2, the average daily close price for AD was 0.7463, while the average daily close value for ES was 2195. Furthermore, the median daily close price value for CL was 54.57, while the median daily close price value for GC was 1296.

Time Series Analysis.
e time series plots of the time series of the daily closing price variables indicate that all values of the autocorrelation function are significantly far from zero and the trend's ACF is slowly decaying. is implies that there are strong correlations from past values. e stationarity of the time series should be verified. To obtain stationarity data, to remove correlations, and to obtain independent data, a transformation should be applied to the time series [19].
After taking the first differences in the time series of daily close price, the KPSS [20] test was performed. e p value of the test was 0.1, which is greater than the significance level of 0.05. Hence, it can be rejected, and it can be concluded that the series is stationary.

Model Identification.
e autocorrelation function (ACF) plot of the first differences for daily close price values was constructed for a variety of lags k � 1, 2, that is, among (Y1, Y1 + k), (Y2, Y2 + k), (Y3, Y3 + k), . . ., and (Yn − k, Yn), which can identify the order of the ARMA model [21]. e ACF plot of the first difference of daily close price data values was measured for all AD, C, CL, ES, FC, GC, KC, and the US. e trend of the plot was tail-off and cut-off at lag 1, which indicates that the ACF was MA (1). e plot of the partial autocorrelation function (PACF) of the first difference of daily close price values for the global market estimated the correlation between Yt and Yt − k after removing the effect of the intervening variables Yt − 1, Yt − 2, Yt − 3, . . ., Yt − k + 1 [21,22].

Determining the ARIMA Model Order.
e trend of the PACF plot tends to cut off at lag 3 or lag 4 for AD and CL, which implies that the order or the parameters of the partial autocorrelation function were AR (4) or AR (4). e PACF plot tends to cut off at lag 2 or lag 3 for C and FC, which implies that the order or the parameters of the partial autocorrelation function were AR (2) or AR (3). e PACF plot tends to cut off at lag 5 or lag 7 for ES, which implies that the order of the parameters of the partial autocorrelation function were AR (5) or AR (7). e PACF plot tends to cut off at lag 2 or lag 4 for GC, which implies that the order or the parameters of the partial autocorrelation function were AR (2) or AR (4). e PACF plot tends to cut off at lag 3 or lag 11 for KC, which implies that the order or the parameters of the partial autocorrelation function were AR (3) or AR (11), and finally, the PACF plot tends to cut off at lag 2 or lag 6 for US which implies that the order or the parameters of the partial autocorrelation function were AR (2) or AR (6). Mixed compounds of AR and MA models can be used to build many models. e composite models were initially acceptable according to the results of ACF and PACF plots; however, there were criteria to compare fitted models, in the prelude to choosing the best model. e extended autocorrelation function (EACF) method [23] is an easy graphical tool to identify the orders of the ARMA model. e EACF method uses the fact that if the AR part of a mixed ARMA model is known, the output of the EACF is a two-way table, where the rows correspond to AR order p and the columns to MA order q. Table 3 shows the AIC values of the selected ARIMA models for variables according to the ACF, PACF, and EACF method. Table 3 exhibits the AIC values of suggested model variables. e best ARIMA model has the minimum value of AIC. erefore, for AD, the ARIMA (0,1,1) model, for C, the ARIMA (0,1,1) model, for CL, the ARIMA (0,1,2) model, for ES, the ARIMA (1,1,1) model, for FC, the ARIMA (0,1,1) model, for GC, the ARIMA (0,1,1) model, for KC, the ARIMA (1,1,1) model, and for the US, the ARIMA (0,1,1) model were selected. Table 4 shows the estimated parameters for ARIMA models using the maximum likelihood method.

Model Estimation.
According to the parameter estimation results in Table 4, the MA parameter for AD was − 0.0311 with 0.0417 standard error. e AR and MA parameters for CL were − 0.0263 and − 0.1298, respectively.

Diagnostic Checking of the Best ARIMA Model.
e next step was to conduct the diagnostic checking for the residuals of the ARIMA models. Model diagnostics were performed by testing the goodness of fit of a model. In this study, the selected ARIMA models were the best model from the suggested models. erefore, the Box-Pierce and Ljung-Box tests were applied to determine the potential of the model in forecasting the global market's close price values. Table 5 shows that the p value is higher than 0.05 for all ARIMA models. Hence, it can be concluded that the autocorrelation is different from zero. erefore, the selected models are appropriate.

Summary of Diagnostic Plots.
e standardized residuals, the sample ACF of the residuals, and p values for the Ljung-Box test statistic were used to check the assumption of independence of error terms. Randomized, nonpattern residuals implied independent errors. e residual plot, ACF, and PACF did not have any significant autocorrelation of any lag, which means that the ARIMA models were appropriated models for variables.

e Final Model.
According to the parameter estimation results in Table 4, the final ARIMA models can be expressed as the following equations. e final models were ARIMA (0,1,1) for AD, C, FC, GC, and the US. is model can be expressed in the following form: (6) e final models were ARIMA (1,1,1) for ES and KC. is model can be expressed as follows: e final model was ARIMA (0,1,2) for CL. is model can be expressed in the following form: 3.8. Forecasting. e main objective of building a model for a time series is forecasting the values for that series at future points of time. e best ARIMA models to represent the series for AD, C, FC, GC, and the US were ARIMA (0,1,1), for ES and KC ARIMA (1,1,1) and, finally, for CL ARIMA (0,1,2). Figure 2 shows the forecasts for 30 days of close price values for selected instruments. 30-day prediction values were plotted in the blue line, the 80% prediction interval was    Journal of Probability and Statistics indicated in the dark gray color area, and the 95% prediction interval was shown in the light gray color area.

Model Identification.
e time series was produced from a white noise series (residual of the ARIMA). erefore, ACF plots could not be applied to select the orders p and q of the ARIMA model. Akaike Information Criteria (AIC) was used for various combinations of p and q. en, the model which had the minimum AIC was chosen as the best candidate model. EACF was guided to reduce the options of the best models. Table 6 indicates the suggested GARCH models from EACF and AIC for variables. Final models were estimated using minimum AIC and BIC values. GARCH (1,1) for AD, GARCH (1,1) for C, GARCH (1,2) for CL, GARCH (1,2) for ES, GARCH (1,1) for FC, GARCH (3,4) for GC, GARCH (1,1) for KC, and GARCH (1,1) for the US were selected using minimum AIC and BIC values.

Lagrange Multiplier (ARCH-LM) Test.
e test results presented in Table 7 reject the null hypothesis of no ARCH effect for daily close price values. e tests implied that there was significant volatility clustering in the residual series. erefore, there was an ARCH effect in the series which indicates that the time series was heteroscedasticitic and volatile [24]. Table 8 displays the results of the Box-Ljung test. e p values indicated that the models are statistically significant. e parameter estimation of GARCH models is displayed in Table 9. All the parameters were significant for AD, exclude β1 nonsignificant value. erefore, it was removed from the model. For C, all the parameters were significant. For CL, β1 and β2 nonsignificant were removed from the model. For ES, β1 and β1 nonsignificant were removed from the model. For GC, α2, α3, β1, β2, β3, and β4 nonsignificant were removed from the model. For KC, β1 nonsignificant was removed from the model. For the US, β1 nonsignificant was removed from the model.

Model Diagnostics.
To check the adequacy of a given time series model, it is common practice to test the significance of the residual autocorrelations. In the GARCH framework, this method is not relevant because the process is always white noise. However, to check the adequacy of a volatility model, the squared residual auto covariance should be invested.
Diagnostic of the adequacy of GARCH models was checked using the plot of the standardized squared residuals. Most values of ACF at successive lags were significantly close to zero which indicates that the models of GARCH were adequate [25]. e p value of the Box-Ljung test exceeded 0.05. erefore, the hypothesis in which the autocorrelation of residuals is different from 0 cannot be rejected, and it implied that the GARCH models were adequate. In Table 9 also, the p value of coefficient(s) was significant compared to few that were not significantly greater than 0.05.

Forecasting.
e Ljung-Box statistics and corresponding p values were obtained.
at indicated no significant correlation at lags 10, 15, and 20 in a squared residual. e p value was greater than 0.05, and that implied the model adequately represents the residuals. e smaller value of the accuracy measurements of forecast errors, that were actual vs. predicted errors RMSE, MAE, and MAPE, were used in choosing the best model among ARIMA and GARCH class models, and results are shown in Table 10. Table 10 reports the results for an out-of-sample analysis of all models by comparing under three different criteria for four GARCH class models. For the AD, FC, and KC futures, the results support the use of the GARCH model. e APARCH model was the best fit model for the daily close price values of C and CL. e EGARCH and TGARCH were the appropriate models for the GC and US futures, respectively. Table 11 shows the next 30-day average prediction for daily close price values for financial instruments. e next 30-day average for AD was predicted as 0.755.

Conclusions
Futures price values are fluctuating due to the impact of many factors. Hence, the traders are interested in forecasting futures price values to obtain optimum marketing decisions and to manage price risk. In this study, ARIMA and GARCH models were used to forecast daily close price values. GARCH models performed better than ARIMA models because of their ability to handle the volatility by the conditional variance. erefore, the GARCH class models (TGARCH, APARCH, and EGARCH) were used to forecast the daily close price values. For the AD, FC, and KC futures, the results support the use of the GARCH model. e APARCH model was the best fit model for the daily close price values of C and CL. e EGARCH and TGARCH were the appropriate models for the GC and US futures, respectively.

Data Availability
Data are available from the authors upon reasonable request.

Conflicts of Interest
e authors declare that there are no conflicts of interest.