Nowcasting short interest from FINRA daily short volume with a 26k-parameter causal transformer (ONNX, Apache-2.0)

I trained a small model that estimates the next short-interest report for US stocks from FINRA’s daily short-volume files, and the weights are on the Hub: daniel3303/equibles-short-interest-nowcast · Hugging Face

The problem. Short interest (shares still sold short at settlement) is published twice a month with a lag. Short volume (short-sale executions) is published every day, but it’s a flow, not a position: a market maker can sell short to fill a buy order and cover an hour later. The question is how much the daily flow over a settlement window tells you about the change in the report that hasn’t come out yet.

The model.

  • Each sequence position is one trading day with 21 continuous features (short ratio, exempt and non-exempt flow, volume against 21- and 63-day history, flow relative to prior short interest, days to cover, availability masks).
  • A second branch takes 14 settlement-window aggregates plus 14 availability masks.
  • Days are projected to 32 dims, then two causal self-attention layers (4 heads, 96-unit FFN), merged with the aggregate branch.
  • Heads: median log change of short interest, P10 and P90 bounds, and an auxiliary within-date rank score.
  • Loss: Huber (delta 0.15) on the log change, plus 0.2-weighted pinball loss for the interval and MSE on the rank. AdamW, batch 512, lr 5e-4, up to 8 epochs, early stopping on the validation year.

Data and split. 660,246 settlement windows across 6,959 stocks, January 2020 to July 2026. Trained through 2023, selected on 2024, tested on January 2025 to July 2026.

Method (2025 to July 2026 test) Pooled Spearman
Change in the short-volume ratio +0.275
Three-factor rank composite, no fitted weights +0.305
Ridge on raw window features +0.343
This transformer, 3-seed ensemble +0.414

Seeds 17, 29 and 43 scored +0.408, +0.405 and +0.404. Direction accuracy is 63.4% and the P10 to P90 interval covers 82.4% of outcomes. The released checkpoint is a full-history refit, so it has no honest out-of-sample score of its own; the numbers above belong to the frozen evaluation ensemble.

Caveats I’d want to know as a user.

  • The FINRA history is the final files, not point-in-time vintages, and I had looked at the 2025 to 2026 period during earlier formula work, so +0.414 is a strong retrospective result rather than a promised live correlation. A forward test started after July 15, 2026.
  • It’s a nowcast. Correlation with the following window is about zero, and next-window return correlations are about zero too, so it’s not a trading signal.
  • No current market cap or shares outstanding go in, because today’s values would leak into old windows.

The ONNX graph takes a [batch, 32, 21] daily tensor, a [batch, 28] aggregate tensor and a [batch, 32] valid-day mask; the model card has the exact feature contract and normalization metadata. The write-up with the baselines, the quintile tables and the robustness checks is here: Does Daily Short Volume Predict Short Interest? Evidence - Equibles

Happy to answer questions, and I’d be interested in ideas for a better baseline than ridge on this kind of panel.

For a harder baseline than ridge on raw features, keep ridge but rank everything within each settlement date first — each feature and the log-change target converted to its within-date rank — so the model can only learn how to order stocks that day, not pooled levels across dates or stock sizes. That representation alone often closes much of a panel gap, because pooled ridge spends its fit on scale differences the Spearman score never asked about. Prove it by reporting mean Spearman per settlement date, not just pooled, for ranked ridge and the transformer on the same split: if the transformer still clears ranked ridge there, its gain is real ordering, not pooling.

Good suggestion, thanks. The per-date half I can answer from the write-up: on the 2025 to July 2026 test, mean per-date Spearman is +0.3452 for raw-feature ridge and +0.4145 for the transformer ensemble, against +0.3428 and +0.4143 pooled. So the gap holds date by date, and pooled versus per-date barely moves for any of the methods here.

Ranked ridge, with the features and the target both ranked within each settlement date, I haven’t run. Two things hint at where it might land. The three-factor composite is already an unweighted average of within-date ranks and gets +0.3057 per date. And in a later direction-accuracy experiment, swapping the window aggregates for within-date rank or z-score views scored slightly below the raw values. My guess is that some of the signal sits in levels a rank throws away, like flow relative to the stock’s own prior short interest, but ranked ridge is the clean way to measure how much a linear model gets once scale is out of the picture. It’s a better challenger than raw ridge, so I’ll treat it as the baseline to beat next time.