Short-Term Stock Price Forecasting Using ARIMA: A Case Study on
Apple and Amazon
Zikai Feng
a
Department of Athematics, The Chinese University of HongKong, HongKong, 999077, China
Keywords: ARIMA Model, Stock Price Prediction, Stock Market.
Abstract: In stock market, predicting stock price has attracted many researchers interest over years because of the non-
stationary and highly volatile nature of stock prices. Among various time series forecasting models, the Auto
Regressive Integrated Moving Average (ARIMA) model has been widely applied because of its ability to
capture the patterns for short term prediction. This study applies the Auto Regressive Integrated Moving
Average model to forecast Apple (AAPL) stock value and Amazon (AMZN) stock value. Using the Akaike
Information Criterion (AIC) to select the model that fits the best, and ARIMA (0,1,0) is found to be the best
option for both stocks. The Root Mean Square Error (RMSE) is used to estimate the accuracy of model
forecast. Result of this paper illustrate that ARIMA model exhibits an impressive aptitude for short-term stock
price predictions, offering a reference for future research and investment strategies. This study aims to
demonstrate the effectiveness of the ARIMA model in short-term stock value predicting, delivering a resource
for financial market analysts and financial institutions.
1 INTRODUCTION
With the rapid development of financial markets,
stock price prediction has become indispensable for
investment decision-making and risk management.
Stock prices exhibit complex characteristics such as
non-stationarity and nonlinearity, and high volatility
influenced by macroeconomic indicators,
geopolitical events, and irrational market behaviors
traditional analytical approaches often fail to capture
these dynamic patterns effectively (Devi, Sundar, &
Alli, 2013; Ariyo, Adewumi, & Ayo, 2014). Because
of their dependence on static assumptions, classic
analytical techniques like linear regression and
simple time-series models find it difficult to represent
the chaotic patterns created by these intricate
interactions. The Auto Regressive Integrated Moving
Average(ARIMA) model, proposed by Chen, has
been proven highly effective in handling financial
time series data with temporal dependencies. By
transforming non-stationary data into stationary
series after servals difference, the ARIMA model
would capture cyclical variations in the data and
provides short-term forecasts(Chen, 2022).
Stationarity, which requires constant mean, variance,
a
https://orcid.org/0009-0000-8778-7229
and autocorrelation structure over time, eliminates
spurious correlations caused by trends or seasonal
patterns, thereby allowing models to identify genuine
relationships within the data, using stationary data to
predict the stock price is more trustworthy (Dar et al.,
2024).
Several empirical investigations have been
conducted to assess the capacity for prediction of the
ARIMA model in the stock market. For example,
Almasarweh et al. applied an ARIMA (1,1,2) model
to predict Banking Stock Market Data and found that
the model performed well in forecasting the data
(Almasarweh & Wadi, 2018). Similarly Adebayo et
al. identified ARIMA (3,1,1) and ARIMA (1,1,4) as
optimal specifications for Botswana and Nigeria
markets, respectively (Adebayo, Sivasamy, &
Shangodoyin, 2014). Additionally, Adebiyi et al.
employed an ARIMA (2,1,0) model to predict the
Nokia Stock Index and an ARIMA (1,0,1) model for
the Zenith Bank Index, demonstrating that both
models effectively predicted stock price
movements(Adebiyi et al., 2014). These studies
emphasize the prediction capability of ARIMA model
by using stationary and accurate stock price.