# Margin League: Elo forecasts, bookmaker margin and the favourite-longshot pattern

**URL:** <https://forum.comses.net/t/margin-league-elo-forecasts-bookmaker-margin-and-the-favourite-longshot-pattern/11281>\
**Category:** Model Discussion\
**Created:** [November 15, 2026, 12:48am UTC](https://forum.comses.net/t/margin-league-elo-forecasts-bookmaker-margin-and-the-favourite-longshot-pattern/11281 "2026-11-15T00:48:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![betbetter](https://forum.comses.net/letter_avatar_proxy/v4/letter/b/b77776/32.png) [@betbetter](https://forum.comses.net/u/betbetter)\
**Post date:** [November 15, 2026, 12:48am UTC](https://forum.comses.net/t/margin-league-elo-forecasts-bookmaker-margin-and-the-favourite-longshot-pattern/11281/1 "2026-11-15T00:48:21Z")

</div>

# Margin League: Elo forecasts, bookmaker margin and the favourite-longshot pattern _(1.0.0)_

An agent-based model of a sports league, a public Elo forecaster and a bookmaker. Teams have hidden true strengths that drift between seasons; the forecaster updates Elo ratings after every game; the bookmaker prices each game from the Elo forecast plus a margin (overround), spread either proportionally or loaded onto longshot prices. The model asks where the favourite-longshot pattern in betting prices comes from. With a forecaster whose ratings lag true strength, longshots win more often than their de-vigged price implies; a bookmaker that loads its margin onto longshots cancels that bias, so favourite and longshot bets both lose roughly the margin. Outputs: a calibration table (de-vigged price band vs. observed win rate) and the average return of flat bets on favourites and longshots. Python 3 standard library only; all parameters are command-line arguments; the README documents the model with a short ODD protocol and an example run. Companion empirical study and open data (CC BY 4.0): https://betbetter.world/studies/market-calibration . Teaching model, not a betting system.

## Release Notes

Initial release: Python 3 agent-based model of an Elo forecaster and a bookmaker margin, with proportional and longshot-loaded margin styles, calibration table and favourite/longshot return outputs.

## Associated Publications

Glush, E. (2026). Well Calibrated, Unevenly Priced: Market Calibration and the Location of the Bookmaker’s Margin in 18,238 Modern Fixed-Odds Markets. XSci preprint. [https://doi.org/10.66977/xsci.2611.002g](https://doi.org/10.66977/xsci.2611.002g)

* * *
This is a companion discussion topic for the original entry at [https://www.comses.net/codebases/0a17031f-b046-484b-8db9-5de77628c022/releases/1.0.0/](https://www.comses.net/codebases/0a17031f-b046-484b-8db9-5de77628c022/releases/1.0.0/)
