AlphaNova
Back to Blog
Ridge Regression for Trading Signals: Why Top Competitors Keep It Linear

Ridge Regression for Trading Signals: Why Top Competitors Keep It Linear

Dominik Keller
November 30, 2026

Since launching AlphaNova, we've interviewed our brightest data scientists for our Minds Behind the Models series – here's what we learnt from our participants about the model they reach for first.

When we started profiling the people whose signals survive AlphaNova's filters for overfitting, look-ahead bias and correlation, we expected a zoo of exotic architectures. What we found instead was a surprisingly consistent toolkit: ridge regression on cross-sectional ranks.

Zhenhao, Alok, Ismam, Braxton and Aflin all built their best competition work around a regularised linear model. This post explains why ridge regression keeps winning on noisy financial data, how our participants use it, and how to set it up in Python.

Why linear models keep winning in signal competitions

Financial returns are dominated by noise. Any model with enough capacity will happily memorise that noise in-sample and then fall apart out-of-sample. That makes model capacity a liability rather than an asset.

Our participants described this from several angles:

  • Zhenhao Sng prefers small, regularised linear models so he can see what drives a signal and reduce the risk of fitting noise. Ridge is his go-to for many noisy, related engineered features.
  • Alok Verma, who has built more than 1,500 market-neutral alphas, uses ridge regression on cross-sectional ranks as his main model.
  • Ismam Tabriz pairs a strongly regularised ridge model with only a shallow boosted-tree component, and adds complexity only when simpler models fail.
  • Braxton Mensah favours regularised ridge models for stable performance, often blended with models that look at different parts of the data.
  • Kei Eugene Kwok argues that cross-validated, ensembled linear and tree-based models often beat complex architectures that are harder to debug.

The common thread: when the signal-to-noise ratio is low, interpretability and stability beat flexibility.

What ridge regression actually does

Ordinary least squares picks coefficients β\beta to minimise squared error. Ridge adds an L2 penalty that shrinks coefficients towards zero:

β^ridge=arg⁡min⁡β  ∥y−Xβ∥2+α∥β∥2\hat{\beta}_{ridge} = \arg\min_\beta \; \|y - X\beta\|^2 + \alpha \|\beta\|^2

Two properties make this ideal for trading signals:

  1. It tolerates collinearity. Engineered features in finance are heavily correlated – a 5-day and a 10-day momentum feature share most of their information. OLS coefficients explode in that situation; ridge spreads weight sensibly across correlated features.
  2. It limits how much the model can learn from noise. The penalty α\alpha is a direct dial on model capacity.

Why rank features cross-sectionally first

Most of our participants don't feed raw values into the model. They rank each feature across all assets at each timestamp, so the model learns relative ordering rather than absolute levels.

  • Alok keeps his models deliberately simple and favours relative asset ordering over raw values.
  • Ismam works on the cross-section at each timestamp rather than piling up rolling time-series indicators.
  • Akshita Srivastava uses ts_rank on fundamental ratios to rank each stock against its own history, reducing distortion from broad market moves.
  • Mathurin Aché Arnaud discovered by reading the evaluation code that a cross-sectional rank makes temporal rescaling of a signal inert – so effort spent on rescaling was wasted.

Ranking removes outliers, makes features comparable, and neutralises market-wide shifts in one step. If you want to go further, our guide to decorrelated cross-sectional signals covers normalisation in more depth.

Ridge regression on cross-sectional ranks in Python

import pandas as pd
from sklearn.linear_model import Ridge

def cs_rank(df: pd.DataFrame, cols: list[str], date_col: str = "date") -> pd.DataFrame:
    """Rank each feature across assets at each timestamp, centred on zero."""
    return df.groupby(date_col)[cols].rank(pct=True) - 0.5

# train: one row per (date, asset), with feature columns and a forward return
X_train = cs_rank(train, feature_cols)
y_train = train.groupby("date")["fwd_return"].rank(pct=True) - 0.5

model = Ridge(alpha=10.0, fit_intercept=False)
model.fit(X_train, y_train)

X_test = cs_rank(test, feature_cols)
test["signal"] = model.predict(X_test)

Because both features and target are centred ranks, the intercept is unnecessary and the predictions are already market-neutral in rank space.

Choosing alpha: the mistake that looks like "no signal"

The regularisation strength is the one hyperparameter that matters most – and getting it wrong can be silent.

Aflin Airil built a model that output nothing at all. It looked as if the data had no signal. The real cause was a configuration error: the regularisation strength was far too high for the scale of his target, which shrank every coefficient to zero. His lesson is one we'd underline for every newcomer: check your model configuration before concluding the market is random.

Tune α\alpha with walk-forward validation, not random k-fold splits, and sweep it on a log scale (for example 0.01 to 1,000). If predictions collapse towards a constant, your penalty is too strong relative to the target scale.

Ridge vs tree models on collinear features

Aflin's experience also shows why linear models are so popular. His LightGBM models built on overlapping-window transforms of the same features were flagged for overfitting, while tree models on diverse features passed – and linear models on the same collinear data held up well. Trees exploit redundant features to memorise noise; ridge simply spreads the weight.

That doesn't mean trees are useless. Ismam's shallow boosted-tree component captures compact nonlinear interactions on top of a linear core. For a deeper comparison of boosting libraries, see LightGBM vs XGBoost vs CatBoost.

Key takeaways

  • Start linear. Ridge regression is the default model among AlphaNova's strongest participants.
  • Rank cross-sectionally before fitting so the model learns relative ordering.
  • Treat alpha as your capacity dial and tune it walk-forward.
  • Add trees only for diverse features and only when a linear baseline has clearly plateaued.
  • Interpretability is a feature: if you can't explain what drives your signal, you can't tell when it's broken.

FAQ

Is ridge regression good for stock prediction?
For cross-sectional return prediction on noisy, correlated features, ridge is one of the most robust choices available. Its strength is stability out-of-sample, not in-sample fit.

Ridge or lasso for trading signals?
Lasso (L1) drives coefficients to exactly zero, which can be useful for feature selection, but it tends to pick one feature arbitrarily from a correlated group. Ridge keeps the group and shares the weight, which is usually more stable on engineered financial features.

How do I avoid overfitting with ridge?
Use walk-forward validation, test against shuffled labels, and check that results hold in more than one period. Our post on look-ahead bias vs survivorship bias covers the other common traps.


This post is part of our Lessons from the Minds Behind the Models series. Next up: shuffled-label testing – a simple Python check that separates real alpha from noise. Ready to test your own ridge model? Join an AlphaNova competition – read how AlphaNova competitions work first.

Ridge Regression for Trading Signals: Why Top Competitors Keep It Linear | AlphaNova Blog