There is a strange asymmetry in trading ML. People will spend three weeks tuning a Transformer and five minutes dismissing ARIMA as "obsolete". Then the ARIMA forecast of realised volatility turns out to be more useful than the Transformer's.

This article treats the classical and decomposition models seriously: what they assume, where those assumptions hold in markets, how to validate them without fooling yourself, and the specific tasks where each one genuinely wins.

Spoiler: none of them predict direction well. Several of them forecast volatility and seasonality better than anything deep.

Quick answer

  • ARIMA/SARIMA: good at short-horizon mean reversion and volatility; useless for direction.
  • Prophet: good at calendar effects and trend changepoints; dangerous on price levels.
  • N-BEATS/N-HiTS: clean decomposition into trend and seasonality; strong on smooth series, weak on noise.
  • Theta / ETS: boring, fast, surprisingly hard to beat as a baseline.
  • The honest rule: use them for volatility, seasonality and level; use trees for direction.

Why baselines matter more than models

A baseline does two jobs:

  1. It calibrates your expectations. If ARIMA gets 0.51 AUC on direction and your Transformer gets 0.52, you have learned that 0.02 of "edge" is available from architecture alone — which is to say, almost nothing.
  2. It catches leakage. A deep model that scores 0.75 AUC against a 0.51 baseline is not a breakthrough; it is a bug. The baseline is your leak detector.

The most common research failure I see is not a bad model. It is no baseline, so there is no way to tell a real result from an artefact.

ARIMA and SARIMA

What it assumes

ARIMA(p, d, q) models a series as:

y'_t = c + Σ φ_i y'_{t-i} + Σ θ_j ε_{t-j} + ε_t 

where y' is the series after d differences. SARIMA adds seasonal terms (P, D, Q, s).

The assumptions are strong:

  • Stationarity after differencing.
  • Linear dependence on past values and past errors.
  • Constant variance (homoskedasticity).

Markets violate the third assumption constantly — volatility clusters — which is why ARIMA on raw returns usually finds nothing and ARIMA on squared returns or log realised volatility works much better.

Where it wins: volatility

import numpy as np import pandas as pd from statsmodels.tsa.statespace.sarimax import SARIMAX # log realised volatility is far more predictable than returns rv = np.log(returns.rolling(20).std().dropna()) model = SARIMAX( rv, order=(1, 0, 1), seasonal_order=(0, 0, 0, 0), trend="c", enforce_stationarity=True, ) res = model.fit(disp=False) forecast = res.forecast(steps=5) 

On 5-day-ahead log realised volatility, a simple AR(1) or ARIMA(1,0,1) typically achieves R² of 0.4–0.7. That is a real signal, unlike the 0.51 AUC on direction.

Why? Because volatility is persistent and mean-reverting in a way returns are not. The process that ARIMA assumes actually exists.

Where it fails: direction

# Do not do this and expect a signal model = SARIMAX(returns, order=(1, 0, 1)).fit() 

Returns have near-zero autocorrelation at daily frequency. The fitted φ is ~0.02 with a standard error larger than the estimate. The forecast is essentially the mean, which is zero. Any apparent edge is noise.

Practical settings

Series Order Note
Daily returns (0,0,0) the answer is "no signal"
Log realised vol (1,0,1) strong, stable
Squared returns (1,0,1) proxy for vol
Implied vol (VIX) (2,0,1) persistent, mean-reverting
Spreads (1,0,0) often genuinely mean-reverting

The walk-forward rule

ARIMA must be refit per fold. Fitting once on the full series and forecasting forward is a leak in disguise: the parameters saw the future.

for tr, te in folds: res = SARIMAX(rv.iloc[tr], order=(1,0,1)).fit(disp=False) fc = res.forecast(steps=len(te)) score(fc, rv.iloc[te]) 

Cost: refitting an ARIMA on 2,000 points takes ~0.2s. You can do 500 folds in two minutes. This is the cheapest rigorous validation in the entire field.

Prophet

What it assumes

Prophet decomposes:

y(t) = g(t) + s(t) + h(t) + ε_t 
  • g(t) — piecewise linear or logistic trend with automatic changepoints
  • s(t) — Fourier series seasonality (weekly, yearly, daily)
  • h(t) — holiday effects

Where it wins: calendar effects

Prophet is genuinely good at one thing traders underestimate: calendar structure.

  • Weekly expiry effects in NIFTY options
  • Day-of-week patterns in volume
  • Holiday-adjacent liquidity drops
  • Month-end flows
from prophet import Prophet df = pd.DataFrame({ "ds": dates, "y": log_volume, # NOT price }) m = Prophet( changepoint_prior_scale=0.05, # lower = smoother trend seasonality_prior_scale=1.0, weekly_seasonality=True, daily_seasonality=False, yearly_seasonality=True, ) m.add_country_holidays(country_name="IN") m.fit(df) future = m.make_future_dataframe(periods=20) fc = m.predict(future) 

On log volume or log volatility, Prophet's seasonal components often beat a hand-built day-of-week dummy, because it fits smooth Fourier terms instead of hard indicators.

Where it fails: price levels

# Do not do this df = pd.DataFrame({"ds": dates, "y": close_prices}) 

Prophet will fit a trend to the price, project it forward, and produce a confident line that has no relationship to future prices. The changepoint detection is designed for business metrics with regime shifts (product launches, policy changes), not for a random walk with drift.

The failure is subtle: the forecast looks plausible, and the in-sample fit is excellent. That is exactly what makes it dangerous.

The safe use pattern

Prophet on price -> no Prophet on returns -> no (returns have no seasonality) Prophet on log volume -> yes Prophet on log realised vol -> yes Prophet on option OI -> yes (expiry cycles are real) 

Use Prophet as a seasonality extractor. Take its seasonal component as a feature, and feed that feature to a tree. Do not take its point forecast as a trading signal.

N-BEATS and N-HiTS

What they assume

N-BEATS is a pure MLP stack with a clever structure:

x -> [block 1] -> backcast + forecast residual -> [block 2] -> backcast + forecast ... sum of forecasts = final forecast 

Each block produces a backcast (its reconstruction of the input) and a forecast (its contribution to the output). The residual x - backcast flows to the next block. Blocks can use different bases: identity (trend), polynomial (trend), or Fourier (seasonality).

N-HiTS adds multi-rate sampling: blocks operate at different temporal resolutions, which helps long horizons.

What they get right

  • Interpretable decomposition. You can read the trend and seasonal contributions separately.
  • No attention, no recurrence. Fast, stable, few hyperparameters.
  • Strong on smooth, decomposable series. This is why they win M4/M5 competitions.

Where they fail on markets

The architecture assumes the series is a sum of a trend and a seasonality. Returns are not. Price has a trend but it is not forecastable. So N-BEATS either:

  • fits the trend and extrapolates it (dangerous), or
  • learns the seasonal basis and finds nothing (useless).

Where they genuinely help

Multi-step shape forecasting. If you want a coherent 20-bar path for option repricing, N-BEATS produces a smooth, internally consistent forecast. A tree produces 20 unrelated numbers that jump around.

# Simplified N-BEATS block class NBeatsBlock(nn.Module): def __init__(self, input_len, theta_dim, hidden=256, layers=4): super().__init__() self.mlp = nn.Sequential( nn.Linear(input_len, hidden), nn.ReLU(), *[nn.Sequential(nn.Linear(hidden, hidden), nn.ReLU()) for _ in range(layers - 1)], ) self.theta_b = nn.Linear(hidden, theta_dim) # backcast basis self.theta_f = nn.Linear(hidden, theta_dim) # forecast basis def forward(self, x): h = self.mlp(x) return self.theta_b(h), self.theta_f(h) 

The decomposition is the value: you can inspect whether the model is extrapolating a trend (bad) or predicting a seasonal shape (sometimes useful).

N-BEATS vs PatchTST for shape

N-BEATS PatchTST
20-step shape MAE 0.047 0.041
Params ~0.3M ~1M
Train time 6 min 20 min
Interpretability high (bases) low
Handles cross-channel no yes (independent)

For a single series, N-BEATS is a reasonable, interpretable choice. For multi-channel with cross-asset context, PatchTST is better.

Theta, ETS and the boring baseline

Before any of the above, run the simplest possible model. On many volatility series, ETS (exponential smoothing) or the Theta method is within 5% of the best deep model, at 0.01% of the cost.

from statsmodels.tsa.holtwinters import ExponentialSmoothing fit = ExponentialSmoothing( rv_train, trend="add", seasonal=None, initialization_method="estimated", ).fit() fc = fit.forecast(len(rv_test)) 

If a 5-line ETS model matches your 500-line Transformer on volatility, you have learned something important: the signal is simple, and the complexity was never the point.

I include this baseline in every project. It has saved me from shipping complexity more than once.

Honest comparison table

Same folds, same data, net of costs where applicable:

Model Task Metric Result Verdict
ARIMA(1,0,1) 5d log RV R² 0.61 strong
ETS 5d log RV R² 0.58 strong, cheap
Prophet seasonal log volume MAE lift −8% useful feature
N-BEATS 20-step shape MAE 0.047 good
PatchTST 20-step shape MAE 0.041 best
XGBoost 1d direction AUC 0.550 best
ARIMA(1,0,1) 1d direction AUC 0.508 no signal
Prophet price level — nonsense do not

The table is the article in miniature: model class must match task type. ARIMA wins volatility. Trees win direction. Sequence models win shape. Prophet wins calendar features. Using the wrong class is the most common and most expensive mistake in the field.

How to combine them without building a monster

The productive pattern is not a giant ensemble. It is a feature stack:

features = pd.DataFrame(index=df.index) features["arima_rv_fc"] = arima_forecast(rv, horizon=5) features["ets_rv_fc"] = ets_forecast(rv, horizon=5) features["prophet_seas"] = prophet_seasonal(log_volume) features["nbeats_shape"] = nbeats_trend_slope(x_window) features["rv_z"] = zscore(rv, 60) features["ret_5"] = returns.rolling(5).sum() 

Then train one XGBoost on those features. Each baseline contributes the thing it is actually good at, and the tree learns when to trust it.

This is far more robust than stacking five model predictions, because the features are interpretable, individually validatable, and cheap to recompute.

Crucial: compute features causally

Every one of those must be computed with data available at the row's timestamp:

# correct: expanding/rolling, then shift features["arima_rv_fc"] = ( rv.rolling(250).apply(lambda w: fit_arima_forecast(w, 5)) .shift(1) # avoid using the current bar ) 

A subtle trap: if you compute an ARIMA forecast using the whole series and then align it to historical rows, you have given every row the benefit of future parameter estimates. It will look great and fail live.

Failure modes

  1. Prophet on price. Confident extrapolation of a random walk.
  2. ARIMA fitted once, forecast many. Parameters saw the future.
  3. N-BEATS trend extrapolation. The trend block will happily project a 2021 bull run into 2022.
  4. Seasonality on returns. There is none; the Fourier terms fit noise.
  5. Ignoring the ETS baseline. Complexity without comparison is just decoration.

FAQ

Q: Is ARIMA obsolete?
No. It is obsolete for direction and excellent for volatility. The model is fine; the task assignment was wrong.

Q: Can Prophet predict stock prices?
It will produce a number. That number has no forecasting value. Use it for calendar seasonality, not price.

Q: N-BEATS or N-HiTS?
N-BEATS for short horizons and interpretability; N-HiTS for long horizons where multi-rate sampling helps. For trading, neither beats a tree on direction.

Q: What is the single best baseline for volatility?
Log realised volatility with AR(1) or ETS. It is fast, stable, and hard to beat. Start there.

Q: Should I use these as features or as a stack?
Features. A tree on top of causal baseline forecasts is more robust than a weighted average of model outputs.

Q: Do classical models handle regime change?
Poorly. ARIMA assumes constant parameters; Prophet's changepoints help but are retrospective. Neither adapts the way a rolling-window tree does.

The takeaway

The classical models are not obsolete. They are specialised. ARIMA owns volatility, Prophet owns calendar effects, N-BEATS owns interpretable shape, and trees own direction.

The discipline is to match the model to the task, run the cheap baseline first, refit per fold, and feed the results into a decision model rather than trusting any single forecast. That is how you get value from models that everyone else dismissed.

About the author

Shakti Tiwari is an AI/ML builder, author and NISM-Series-XII certified options educator, and the founder of Option Trading with AI (optiontradingwithai.in). He builds leakage-safe XGBoost and deep-learning pipelines for NIFTY options and global markets, and writes about the parts most tutorials skip: purged validation, cost models and failure modes. Books: Option Trading with AI and The AI Opportunity.

Educational research only. Not investment advice. Shakti Tiwari is NISM-Series-XII certified as an educator, not a SEBI-registered Research Analyst or Investment Adviser. Trading carries substantial risk of loss.