Skip to content
All library documents

ARIMA Forecasting for Stock Trading: Stationarity, Model Selection, and Backtesting

Article QuantInsti blog

Summary

This tutorial explains how an ARIMA model represents a univariate time series through autoregressive terms, differencing, and lagged forecast errors. Its proposed workflow tests price-series stationarity with sequential Augmented Dickey-Fuller tests, uses the number of differences needed as the integration order, and compares candidate autoregressive and moving-average orders by Akaike Information Criterion. The selected model forecasts a next-period price for a potential long or short signal, with Python implementation and strategy backtesting presented as the intended application.

The article also discusses possible uses in stock forecasting, market analysis, and risk work when paired with a volatility model such as GARCH. Its practical tutorial is incomplete in the supplied text: the implementation section is truncated and refers readers to course material and a downloadable notebook. It gives no trading performance results or empirical comparison. It cautions that the method depends on suitable data and stationarity assumptions and is more appropriate to short-term forecasts than long-horizon predictions; selecting a low-AIC model alone does not establish that a strategy will perform well.

Key ideas

  • ARIMA combines autoregressive terms, differencing, and moving-average error terms for a single time series.
  • Sequential unit-root testing can guide how many differences are used to reach stationarity.
  • Candidate ARIMA orders can be compared using the Akaike Information Criterion.
  • A forecast may be translated into a trading signal, but the supplied text gives no performance evidence.
  • The method relies on data quality and assumptions and is described as better suited to short-term forecasting.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.