The OU model gives each stock an idiosyncratic residual with its own equilibrium mean and equilibrium standard deviation . For a universe of 500 stocks, these are 500 different spread series with different scales: a deviation of log-points is large for one stock (if ) and small for another (if ). A unified entry rule — "enter when the deviation exceeds threshold " — cannot be applied uniformly across stocks without normalisation.
The S-score solves this by expressing each residual in units of its own equilibrium standard deviation. A stock with is exactly 2 equilibrium standard deviations above its long-run mean, regardless of whether its absolute residual is 2 cents or 8 log-points. The S-score is the final step in the Avellaneda-Lee pipeline: it converts the output of the OU calibration into a single cross-sectionally comparable signal that drives position entry, exit, and stop-loss.
Learning objectives. By the end of this note you should be able to:
- define the S-score and explain its normalisation;
- state and apply the Avellaneda-Lee entry/exit thresholds (, , stop );
- compare the S-score threshold with the Vidyamurthy band-design result ();
- describe the full cross-sectional trading rule applied to a universe of stocks;
- identify the three situations where the S-score fails as a signal.
In this lesson
-
- The S-score defined
-
- The Avellaneda-Lee trading rule
-
- Comparison with Vidyamurthy band-design
-
- When the S-score fails
-
- Full pipeline summary
Before you start
- The Ornstein-Uhlenbeck Model for Idiosyncratic Residuals
- Trading Design: Entry/Exit Bands, Spread Dynamics, and Stop-Loss Rules
The full lesson, with worked examples and exercise solutions, is for members.
Read the full lessonNew to SelfMadeQuant.com? See membership options or browse the Statistical Arbitrage syllabus.