TrueMind
    March 30, 2026
    By Ilona KeldavelleUpdated October 25, 2026
    18 min read

    ML in Sportsbook: Calibration, Not Architecture, Protects the Margin

    With a five per cent overround, a three-point probability error hands the edge to the other side. Why sportsbook ML lives or dies on calibration, timestamps and feed plumbing.

    A 5 per cent margin survives a 2-point pricing error. Three points flip it. On a two-way market, a model that misjudges the true chance by three points hands the edge to whoever backs the other side. That is why machine learning in a sportsbook lives or dies on calibration, timestamps and data feeds, far more than on model design. The sections below follow those weak spots from pre-match pricing to the trading desk.

    The quantity you are modelling is never observed

    A sportsbook model estimates the chance of an outcome. But the data never contains that chance. It only contains the result: the home side won, or it did not. One match gives one yes-or-no result for something that lives between zero and one. No single result can tell you whether an estimate of 0.42 was good or bad.

    That is why habits borrowed from other prediction work do real damage here. Accuracy is the worst of them. A model that backs the favourite in every match is right 55 to 65 per cent of the time in most big football leagues. That sounds decent and tells you nothing. Such a model would price every market the same way and lose money to anyone with an opinion. Picking winners is not the job. The job is to say how often each outcome happens, and to get that right across thousands of markets.

    The tools that measure this are called proper scoring rules. Two of them cover almost everything.

    The Brier score is the average squared gap between the predicted chance and the result. Say a well-calibrated model gives the home side 0.60 in 100 matches, and the home side wins 60 of them. Each win adds (1-0.60)² = 0.16. Each loss adds (0-0.60)² = 0.36. The total is 60 × 0.16 + 40 × 0.36 = 24, so the Brier score is 0.24. Log loss on the same matches adds -ln(0.60) = 0.511 for each win and -ln(0.40) = 0.916 for each loss. The average is 0.673.

    Neither number means anything alone, and most reports miss this. A model that simply said 0.60 for every match would also score exactly 0.24. What you compare against matters more than the score. The honest figure is the Brier skill score: one minus the model's Brier divided by the Brier of that simple "same answer every time" model. A useful pre-match football model scores roughly 0.05 to 0.15 on it.

    If you see much more than that on a big, liquid league, assume a data leak until you prove otherwise.

    Three percentage points of error erase the margin

    Here, calibration is the product. A model that ranks matches in the right order but gives wrong probabilities produces a book that sharp bettors can exploit. The maths is unforgiving.

    Take a two-way market where each side truly has a 0.50 chance. With a 5 per cent margin, each side is priced as if its chance were 0.525. Both prices are 1.905, and the expected hold is about 4.76% in this even case.

    Now say the model is three points off and rates the home side at 0.53. With the same margin, the priced chances become 0.5565 and 0.4935. That gives 1.797 on the home side and 2.026 on the away side. A bettor who puts 100 on the away side can expect back 0.50 × 202.6 = 101.3. The operator now pays out 1.3 per 100 staked on a market meant to earn 5.

    A three-point error did more than shrink the margin. It turned it negative on the side that sharp money will back.

    Model error on true 0.50 Price offered on the mispriced side Expected operator margin on that side
    0.0pp 1.905 +4.8%
    1.0pp 1.944 +2.8%
    2.0pp 1.984 +0.8%
    3.0pp 2.026 -1.3%
    5.0pp 2.116 -5.8%

    That is why calibration checks sit at the centre of any sportsbook model review. Do the predicted chances match how often things really happen? How well the model ranks matches comes second.

    Check the long odds too. Volume there is thin and the relative error is largest. Say a market is priced at 15.0 because the model gives it 6.7 per cent, but the true chance is 5 per cent. The price is off by a quarter, far more than anything near even money. Long odds are also where casual and sharp bettors differ most.

    Market prices are the strongest feature and the easiest way to cheat

    Every serious pre-match model uses prices from the wider market. And every one of them risks learning something it will not have when it counts.

    The useful inputs are well known: team strength ratings updated after each match, expected-goals totals, rest days and travel, confirmed lineups and missing players, the stage of the competition, weather where it matters, and referee habits for card and penalty markets.

    Above all of them sits the price on big exchanges and at rival bookmakers. That price sums up everything the market knows, including things no feature set captures.

    The trap is timing. Historical training tables usually include the closing price, because that is what the archive keeps. Train a model on closing prices and use it to set opening prices, and it has an input from several hours in the future. The test results look superb, and the live model has nothing. Lineups do the same: the historical row holds the confirmed eleven, but at opening nobody knows the lineup.

    The fix is snapshots. For every price you plan to set, build the training row only from what was known at that moment. So the opening model uses the market price 24 hours before kickoff. The final pre-match update uses the price 30 minutes before. If the available inputs differ a lot between those moments, build separate models for each.

    Build one model and hope it copes with missing inputs, and your book ends up wrong at opening and fine at close.

    Two related leaks deserve a name. Team-form figures computed over a whole season and added to every match of that season carry future results backwards. And when one fixture produces many rows, one per market or per bookmaker, those similar rows end up in both training and testing unless you split by fixture.

    The split itself must follow the calendar. A random split might put round 30 in training and round 12 in testing. That leaks squad and form information both ways.

    Split by date, or by whole seasons with a gap between them. That is the only way to estimate how the model will perform live. The natural benchmark in testing is closing line value: how the model's price compares with the market's closing price. The closing price is the best stand-in for the truth that you have.

    In-play: forty milliseconds and a state you can only partly see

    Live pricing is a different engineering problem dressed in the same statistics. The model must update after every important event. The update must reach the betting system before the next bet comes in. And the match data it relies on arrives through a feed that is neither instant nor complete.

    Speed limits in live trading give the pricing step only tens of milliseconds. The full path also includes reading the feed, rebuilding the match state, adding margin, checking exposure and sending out prices. That rules out most fashionable models. A transformer over the whole event history will not fit in the window. A small gradient boosting model with fifteen inputs will.

    So will a lookup table of probabilities built in advance by simulation. It covers score, time left, red cards and team strength. That table often wins, because it does the heavy work when there is time for it.

    Seeing only part of the picture is a bigger problem than speed. Feed data arrives late, and the delay differs between providers, between venues, and between the feed and a TV picture. A goal in minute 63 might move the home-win chance from 0.42 to 0.71. If the feed reports it four seconds late, the book shows wrong prices for four seconds. Anyone watching a faster source knows it. The bets taken in that window are a plumbing loss. No better probability model can reduce it.

    The defences lie in system design. Suspend when in doubt: when the feed stalls, when two feeds disagree, or when a dangerous attack is signalled, stop pricing instead of pricing badly. Track feed delay as a metric with its own alerts. And make the model fail safe. If an input is missing, the market should suspend instead of using a default value. That is the opposite of the usual instinct when serving models.

    A live model also has to agree with itself across markets. If three different models price match result, correct score and total goals, bettors can find arbitrage inside your own book. Deriving the other markets from one shared picture of likely scores takes longer to build. But it removes a whole category of loss.

    Turning probabilities into a book without inventing bias

    Adding margin is often treated as a spreadsheet step after the modelling is done. In fact it is a modelling decision, and the method you choose changes which customers find your book attractive.

    The proportional method multiplies every outcome's chance by the same factor. It is simple, but in relative terms it puts the most margin on long odds. A 2 per cent outcome and a 60 per cent outcome lose the same share of value. Because of how people read long-odds prices, the book looks worst exactly where casual bettors are most interested. The odds-ratio and power methods spread margin unevenly. They take relatively more from favourites or reshape the curve, and can be tuned to match how bettors really treat favourites and outsiders.

    Margin method Effect across the price range Where it hurts
    Proportional Uniform relative loading Longshot prices look poor against competitors
    Odds-ratio Heavier on favourites Thin margin on high-price outcomes
    Power Curved, tunable exponent Needs fitting and monitoring per market type
    Additive on implied probability Heavy relative load on longshots Can produce prices below fair value at the tail

    There is a second layer: how people bet does not match the true chances. Bettors have long been known to overback outsiders. So the actual result of a book differs from its theoretical margin. A model can be perfectly calibrated and the book can still earn less than the margin suggests, because money does not spread in line with the chances. Comparing the theoretical margin with real hold, by market type and league, is an ongoing job. It is also one of the most reliable sources of surprises.

    Thin leagues need pooling, or no model at all

    Model quality collapses at the edges of what you cover. A top European league gives you hundreds of matches a season, stable squads and rich data from suppliers. A second-tier league in a small market gives you a fraction of that. Squads change so much each summer that teams are almost new, and data quality varies by match.

    A separate model for each league is sure to overfit the small ones. A team with twelve matches of data can support about one setting. Fifteen is far too many.

    The structural answer is partial pooling. In these models, each team's strength is tied to the league as a whole. A team with little data is pulled toward the league average. A team with plenty of data is allowed to stand apart. The model works out how strong that pull should be by itself, and that is what makes the approach sturdy.

    The same idea works across leagues. A shared strength scale, tuned on matches between competitions, lets a thin league borrow structure from a rich one. But it cannot create information that does not exist. Below a certain point, the honest choice is to price from a rating system with manual trader adjustments and skip the model. Spotting that point, instead of shipping a model with wide, hidden error ranges into low-volume markets, is a big part of doing this well.

    Bet-level models behave nothing like price models

    Next to pricing sits a second family of models. These look at customers and bets instead of matches, and they share all the problems of very rare events.

    Think of finding accounts that keep beating the closing price, spotting arbitrage across accounts, catching free-bet bonus abuse, or flagging bets that are oddly large or oddly timed for the market. Each of these happens in well under one bet in a hundred.

    On such data, ROC-AUC tells you little, for the same reason it does in screening for rare diseases. What matters are precision-recall curves and precision at the number of alerts your team can review. A trading floor can only check so many alerts a day.

    Setting the threshold works like any decision where errors have different costs. Say reviewing an alert costs an analyst twenty minutes, and a missed case costs about 4,000 over a quarter. Your review capacity and that cost ratio together decide how far down the list to go. But there is a difference from marketing models. A false alarm here means a customer whose account gets restricted, which costs far more than a wasted bonus. Several regulators now watch how operators limit accounts. In some markets, limits must be disclosed and applied fairly. So limiting stakes automatically, based on a model score alone, is a poor idea however accurate the model is.

    Match-fixing detection is harder still, because there are almost no labels. Suspicious matches are rare, and suspicious does not mean proven. Each operator has only a handful of confirmed cases, so standard supervised learning is impossible. What works is anomaly detection on price moves, unusual concentrations of money and gaps between bookmakers. The output is a list for people to investigate. Nothing in that process should void a bet, suspend a customer or accuse anyone. It goes to a person, and from that person to the right integrity body and regulator. In practice that usually means the operator's integrity partner, such as the International Betting Integrity Association for its members, or the integrity unit of the sport's governing body.

    Drift that starts on the pitch

    Sports models drift for reasons that have nothing to do with data pipelines. A competition changes its format. A rule change shifts scoring across a league. Video review changes how often penalties and cards are given. A summer transfer window resets half the squads. A busier schedule changes how tired players get. Each of these changes how inputs relate to results, in ways no input captures.

    To catch it, watch what the model outputs. Track the Brier skill score weekly for each league and market type. Check calibration by probability band every month, because drift usually first shows up as a steady bias in one band. Watch closing line value on the model's own opening prices. It spots a weakening model faster than settled results, because it does not have to wait for matches to finish. And compare real hold with theoretical margin by market type. That catches the money impact even when the probability model looks fine.

    Retraining follows the season. A full refit between seasons is a must, because the squads have changed. Team strengths update after every match during the season, which is a different job from rebuilding the model. Rule and format changes should trigger an unscheduled review. After a major rule change, the honest move is often to widen margins in the affected markets for a while, until the model relearns, instead of trusting it to guess.

    What traders still decide

    Automated pricing does not remove traders. It changes what they focus on. The model prices the routine and the trader handles the exceptions. Where you draw the line on exceptions is a design decision with real money attached.

    The exceptions that should go to a person are much the same everywhere:

    1. markets where model confidence is low or feature coverage is incomplete;
    2. fixtures with unresolved team news close to kickoff;
    3. any market where the model's price differs from the visible market by more than a set amount, because the market is usually right and a big gap is more often a bug than an edge;
    4. liability concentrated on one outcome beyond the exposure policy;
    5. any newly launched market type before it has accumulated a settled history.

    Two things should never be fully automated. Voiding or resettling bets affects customers who have already acted. It needs a written human decision and, in many countries, a specific audit trail. The other is any restriction on a customer, for the reasons above.

    Responsible gambling limits the live product more than pre-match. In-play betting speeds up decisions, and several regulators respond to that. They restrict in-play push messages, require the time and the player's net position on screen, limit some market types, and require self-exclusion and deposit limits to be checked when each bet is placed, not only at login. Australia goes furthest: under the Interactive Gambling Act 2001, online in-play betting on sport is banned outright, and the ACMA has formally warned licensed operators that accepted such bets. A pricing engine that can offer a market it is not licensed to offer somewhere is a compliance incident waiting to happen. So check market availability by country on every request, as a hard gate, just as strictly as the exposure check.

    Advertising and bonuses have their own rules too: limits on free-bet promotions, on targeting customers who recently self-excluded, and on odds boosts in some markets. None of these are model decisions.

    What these models get wrong

    Probability estimates for the main markets in big leagues are good and slowly getting better. For obscure competitions, novelty markets and player bets with little history, they are much worse than their confident decimals suggest.

    A model does not tell you how unsure it is unless it was built to, and most are not.

    On the biggest events, the market beats almost any in-house model. So much of real pricing is deciding how much weight to give the model against the market. Operators who treat their own model as the truth on a Champions League final are making an expensive bet.

    Live models depend on data quality they do not control. Scout mistakes, feed outages, disputed events and disagreeing providers cause pricing errors that look statistical but are not. No amount of retraining fixes them.

    Bet-level detection models have very few labels, and they inherit whatever past review habits produced those labels. If past restrictions were applied unevenly, the model learns that unevenness and repeats it with an air of objectivity. That is worse than the original problem, because it is harder to challenge.

    Finally, all of this improves pricing accuracy and risk position. It does nothing for how long customers stay. A book that prices perfectly and restricts aggressively can be technically excellent and still shrinking. The model has nothing to say about that trade-off. It is a business decision, and the metrics will not flag it.

    Points traders raise once the model is live

    Why does the model's price keep differing from the market on the same fixture?

    Almost always it comes down to timing. The market takes in team news, weather and money flow all the time. A model refreshed on a schedule goes stale between refreshes. Before you treat a gap as an edge, check when the inputs were captured and whether any are missing for that match.

    How much history does a new league need before a model is safe to run?

    Enough matches for team strengths to settle. For a football league, that means at least one full season and ideally two, plus a separate season to test on. Below that, the responsible setup is a pooled rating model with wide margins and a trader watching. Label it clearly inside the company, so nobody confuses it with the product for the flagship leagues.

    Should live and pre-match use the same model?

    They should share the same picture of likely outcomes, but not the same code. Pre-match can afford heavy inputs and slow calculation. Live cannot. The usual setup is a rich pre-match model that sets the starting point, and a fast model or ready-made table that updates it during play. The two are matched at kickoff so the price does not jump.

    Is closing line value a fair way to grade the model?

    It is the best stand-in you have, but it has a real weakness. It grades against the market, which is only an estimate of the truth. So a model that simply copies the market scores well while adding nothing. Use it as an early warning that the model is slipping. Use the Brier skill score on settled results as the slower but more meaningful measure.

    Where does automation stop paying off?

    At the point where the next market is one the trading desk cannot watch. Automating the top four leagues and the main market types captures most of the value. Pushing automation into small leagues with poor data adds risk that the extra coverage does not pay for. Those markets are usually better off with wider margins and lower limits than with a model nobody trusts.